Closed
Description
Marked version: 15.0.0
Describe the bug
when useing marked.parse
Given this input:
-This shouldn't be an h tag
-
Results in this:
<h2>-This shouldn't be an h tag</h2>
and not the expected:
<ul>
<li>
<p>This shouldn't be an h tag</p>
<ul>
<li></li>
</ul>
</li>
</ul>
you can try in https://spec.commonmark.org/dingus/