Incorrect rendering of HTML info in post_metadata.html file #1
-
I just downloaded the template and I set it up and managed to get it to post on my browser. However, when opening any content file, such as the paper file, I get the following result: I don't see anything wrong with the post_meta.html file or the single.html default layout. Does anyone have any idea what the issue might be? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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 addingsafeHTML
. See pull request #2.