I’m not a front-end developer, but I use Hugo for my personal site.
I noticed when going from 0.119.0 to 0.120.0, I’m seeing raw HTML character entities in my final site that are being incorrectly rendered by the browser.
The top is 0.120.0 and the bottom is 0.119.0 (nothing else changed).
I’m not sure if this is a bug in Hugo, or my theme (PaperMod ).
Just to be sure, I’ve tried upgrading to Hugo 0.120.1 and the latest PaperMod git hash, but still seeing the same error.
Can someone direct me on if this is a Hugo issue or PaperMod issue?
Thanks!
Logan
Yes, there was a necessary but breaking change to the delimit function in v0.120.0 and later…
The PaperMod theme is affected by this change:
https://github.com/adityatelange/hugo-PaperMod/blob/master/layouts/partials/post_meta.html#L22
See release notes:
https://github.com/gohugoio/hugo/releases/tag/v0.120.0
Please raise an issue with the theme author. In the interim, you can override the layouts that use the delim
function when rendering to page.
lmm7425
October 31, 2023, 12:09am
3
Thanks! I opened an issue
opened 09:33PM - 30 Oct 23 UTC
I’m not a front-end developer, but I use Hugo and PaperMod for my personal site.…
I noticed when going from Hugo 0.119.0 to 0.120.0, I’m seeing raw [HTML character entities](https://www.w3schools.com/html/html_entities.asp) in my final site that are being incorrectly rendered by the browser.
The top is Hugo 0.120.0 and the bottom is 0.119.0 (nothing else changed).

I asked on [Hugo's Discourse](https://discourse.gohugo.io/t/hugo-0-120-0-incorrectly-rendering-html-character-entities/46893) and they said it was a recent change in the `delimit` function in Hugo [0.120.0](https://github.com/gohugoio/hugo/releases/tag/v0.120.0) and that it would require a theme update.
FWIW, I've tried the latest PaperMod hash as-of this writing and it still shows the same thing.
Developer fixed the issue.
opened 09:33PM - 30 Oct 23 UTC
closed 04:04PM - 31 Oct 23 UTC
bug
resolved
I’m not a front-end developer, but I use Hugo and PaperMod for my personal site.…
I noticed when going from Hugo 0.119.0 to 0.120.0, I’m seeing raw [HTML character entities](https://www.w3schools.com/html/html_entities.asp) in my final site that are being incorrectly rendered by the browser.
The top is Hugo 0.120.0 and the bottom is 0.119.0 (nothing else changed).

I asked on [Hugo's Discourse](https://discourse.gohugo.io/t/hugo-0-120-0-incorrectly-rendering-html-character-entities/46893) and they said it was a recent change in the `delimit` function in Hugo [0.120.0](https://github.com/gohugoio/hugo/releases/tag/v0.120.0) and that it would require a theme update.
FWIW, I've tried the latest PaperMod hash as-of this writing and it still shows the same thing.
1 Like
system
Closed
November 3, 2023, 4:32pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.