github/cmark-gfm

invalid stripping of data with numbered lists

3052 opened this issue · 0 comments

3052 commented

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.