Skip to content

v22.0.2

Choose a tag to compare

@Byron Byron released this 28 Sep 04:14
· 18 commits to main since this release
b438b59

Bug Fixes

  • ensure blank lines are emitted after nested lists if necessary
    Previously, the input:

    1. item
    
       * a
       * b
    
       para
    

    would roundtrip as:

    1. item
    
       * a
       * b
       para
    

    This is incorrect, because the CommonMark spec would treat para as part of
    the b item.

    Fix this by tracking the last event, and using that to emit a blank line if
    necessary. This isn't perfect but it should handle the vast majority of cases.

Commit Statistics

  • 2 commits contributed to the release.
  • 49 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #111 from sunshowers/blank-lines-after-nested-lists (a218fb1)
    • Ensure blank lines are emitted after nested lists if necessary (b4c3dac)