Whitespace after a list wraps all elements #1934
Labels
category: lists
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
released
Marked version: >= 1.2.8
Describe the bug
If whitespace is introduced on a new line after a list it causes any markdown following it to be wrapped in li tags. I believe this is a regression introduced by #1889. Enabling
pedantic
appears to fix the issue but isn't considered a workaround as it disables github flavoured markdown.To Reproduce
Steps to reproduce the behavior:
Create some markdown containing a list then a new line with whitespace followed by a new line and a heading.
Expected behavior
The list should not wrap all the following elements.
The text was updated successfully, but these errors were encountered: