markdown-js icon indicating copy to clipboard operation
markdown-js copied to clipboard

Extra newlines in list

Open ianrose14 opened this issue 11 years ago • 1 comments

I'm seeing some extra

elements in the following input:

1. blah blah
  1. blah 
  1. blah blah blah

1. blah

With most previews, this renders as follows:

  1. blah blah
    1. blah
    2. blah blah blah
  2. blah

But I'm finding that markdownjs injects an extra

around the "blah blah blah" line:

  1. blah blah

    1. blah
    2. blah blah blah

  2. blah

ianrose14 avatar Mar 26 '14 19:03 ianrose14

I see this in the ouput tree too. The last list item or the one that gets indented gets ['para', 'list']

tcoopman avatar Aug 21 '14 14:08 tcoopman