Skip to content

Incorrect rendering of HTML info in post_metadata.html file #1

Answered by pmichaillat
horaciomorenom asked this question in Q&A
Discussion options

You must be logged in to vote

I finally have an answer, thanks to @purerstamp.

The issue occurred because of changes in Hugo after version 0.120. I was using an older version of Hugo so could not replicate the problem. The issue was also described on the PaperMod repo and fixed there: adityatelange/hugo-PaperMod#1325.

The issue was caused by the delimit function, and was fixed by adding safeHTML. See pull request #2.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pmichaillat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants