I’m running hugo 0.69.0 and just noticed that html links are not rendering properly if they have a class assigned.
For example, this:
<a class="btn btn-primary" href="https://example.com/" role="button">https://example.com/</a>
Renders to this:
<p><a class="btn btn-primary" href="https://example.com/" role="button"></a><a href="https://example.com/">https://example.com/</a></p>
I have even double checked the config settings for goldmark to see what could be happening, but it seems to be in order:
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.parser]
attribute = true
autoHeadingID = true
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xHTML = false
Has anyone had a similar problem?