Using Hugo 0.93 with [markup.goldmark.renderer]
and unsafe = true
When building markdown files, Hugo recognizes comments on their own line and does not render them to the site on build
Hello, how are you?
<!-- i don't really know -->
Ok fair enough
However, when I use HTML comments inline (below), it renders to the page but with one dash removed and prints the HTML entity
Hello, how are you? <!-- i don't' really know --> Ok fair enough
<!– I don't really know –>
Questions:
- I’m fairly confident this has not always been the case, but not sure at which point the change occurred, whether it be a version of Hugo or the Markup renderer.
- Is there something I’m missing or overlooking?
Any feedback would be appreciated. Thank you.