[fuzz result] nested empty list with two trailing blank lines causes the outer list to be parsed as loose
Closed this issue · 0 comments
notriddle commented
Consider this markdown:
* x
* -
Test
The list is not loose, because the blank lines aren't inside it, but commonmark-hs thinks it is.
commonmark-hs:
<ul>
<li><p>x</p></li>
<li><ul>
<li></li>
</ul></li>
</ul>
<p>Test</p>
commonmark.js
<ul>
<li>x</li>
<li>
<ul>
<li></li>
</ul>
</li>
</ul>
<p>Test</p>