markdown-to-jsx
markdown-to-jsx copied to clipboard
An orderd list after an unordered list will result in one unordered list
This markdown
- lorem
- ipsum
- dolor
1. sit
2. amet
3. consetetur
will output
- lorem
- ipsum
- dolor
- sit
- amet
- consetetur
instead of
- lorem
- ipsum
- dolor
- sit
- amet
- consetetur
Likewise it will output an ordered list if you put that first
bump on this one, just encountered it too
Heya, really fantastic library you have here; turned out to be exactly what I needed, when I needed it. 🙌
Just chiming in to say I ran into this as one well. At the moment its keeping us from using this for all our markdown rendering, and are just using it when we need to be able to inline components. But were this fixed, I think we'd move to using it everywhere 💪
I am also observing this behavior even when there is a blank line in between:
- List Item A
- List Item B
- List Item C
1. Item \`One\`
2. Item **Two**
3. Item *Three*
Results in a single ul
React element being rendered with all 6 li
elements as it's children.
+1