github / cmark-gfm

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

commonmark list numbering is incorrect #321

Closed kevinbackhouse closed 1 year ago

kevinbackhouse commented 1 year ago

My change in https://github.com/github/cmark-gfm/commit/763587e8775350b8cb4a2aa0f4cec3685aa96e8b has broken the commonmark, man, and plaintext output for this example:

1. a
    1. x
    2. y
    3. z
2. b

320 fixes some of the problem but not all of it.