yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.69k stars 255 forks source link

Incorrect parsing of a nested list inside an empty list item #466

Closed Andrew-Morozko closed 1 month ago

Andrew-Morozko commented 2 months ago

Failing example

- 
  - foo

commonmark:

<ul>
<li>
<ul>
<li>foo</li>
</ul>
</li>
</ul>

goldmark:

<ul>
<li></li>
<li>foo</li>
</ul>

commonmark vs goldmark

This check seems to be the culprit

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

yuin commented 1 month ago

Sorry for my late reply, I've been crazy busy with work. I've fixed issues reported.