News for hackers. Stuff that matters.

fuzzypixelz

You're welcome :)

I finally found out what was going wrong here. All angle brackets and other characters were being escaped in other parts of the document, even in <code></code> blocks. Except when it came to code blocks inside <pre></pre> blocks.

For context, I use Zola and Cloudflare pages.

It turns out there is a bug[^0] in Zola 1.40.0 which reads:

> Fix code blocks content not being escaped when not using syntax highlighting

I presume that this is the culprit, as I use an external syntax highlighting library.

Cloudflare Pages has been famously sluggish with updating the Zola version. For reference, 1.14.0 was released in July 2021.

This explains why everything was working fine on my machine™.

Thanks for pointing this out, though I unsure how to work around it without changing my setup.

[^0]: https://github.com/getzola/zola/blob/master/CHANGELOG.md#014...

Re:Why Learn Haskell? (2018) on Monday March 01, 2021 @07:17AM (#26302020)
This is exactly how I imagine proficient Haskellers spend their time on top of the ivory tower
Re:GitHub Actions is experiencing degraded performance on Monday March 01, 2021 @06:53AM (#26301854)
rvz_told_you_so_linked_list

You sir are a legend.