Skip to content

Conversation

t0v
Copy link

@t0v t0v commented Oct 10, 2018

Bug:
if ordered list or unordered list contains line breaks <br> those will be count as list items <li> and they cause extra (empty) numbered (or bulleted) items.

e.g.
<ol><br><li>foo</li><br><li>bar</li></ol>
would output
1.
2. foo
3.
4. bar

which seems wrong to be.

Fix:
handle only <li> children of the ordered and unordered lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant