Open
Description
I think this is a bug in commonmark.js
:
[a]: b
---
[a]: b
===
On the dingus, it yields:
<p></p>
<hr />
<p>===</p>
Rendered here (cmark-gfm
+ more GH stuff, likely same as just cmark
):
<p>---</p>
<p>===</p>
---
===
- I don’t think a random empty
<p></p>
should show up, that’s a clear bug. - I probably think, but this is more vague, that
<p>---</p>
makes more sense here, as definitions/paragraphs/setext heading underlines interplay weirdly (Mention that link reference definitions are constructed from paragraphs commonmark-spec#605).
Metadata
Metadata
Assignees
Labels
No labels