github / cmark-gfm

GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C
Other
893 stars 173 forks source link

invalid stripping of data with numbered lists #352

Closed 3052 closed 11 months ago

3052 commented 11 months ago

this markup:

1. [Google Services Framework 9](//wikipedia.org/wiki/Android_Pie) (2018)
2. Google Play Store 29 (2022)

creates this HTML on this page:

<ol dir="auto">
<li><a href="//wikipedia.org/wiki/Android_Pie" rel="nofollow">Google Services Framework 9</a> (2018)</li>
<li>Google Play Store 29 (2022)</li>
</ol>

but creates this HTML on a readme page:

<ol dir="auto">
<li><a href="//wikipedia.org/wiki/Android_Pie" rel="nofollow">Google Services Framework 9</a></li>
<li>Google Play Store 29</li>
</ol>

the years are stripped for some reason.