parsedown
parsedown copied to clipboard
Colating ordered and unordered lists indent incorrectly
When mixing ordered and unordered lists, indentation happens incorrectly.
When switching list types an extra layer of indentation occurs that shouldn't.
Indentation should be based on whitespace rather than the previous list item's type
It appears this was intended to have been fixed in #437, but is broken again.
1. Sample
2. List Item
* A Sublist
1. Now we order
1. a list of things
* Same level sublist
1. Deeper we go
Parsedown's interpretation
Commonmark's interpretaion permalink
Live on Github:
- Sample
- List Item
- A Sublist
- Now we order
- a list of things
- Same level sublist
- Deeper we go