Wrong rendering for nested lists in markdown
snowman55 opened this issue · 0 comments
snowman55 commented
I have this markdown:
-
First item
- Indented item
- Indented item
-
Second item
- Indented item
- Indented item
which clipto rendered as:
-
First item
o Indented item
o Indented item -
Second item
o Indented item
o Indented item
Note that there's an extra blank line before the 1st indented line. The extra lines also appears with unordered list.
The proper rendering should be:
-
First item
o Indented item
o Indented item -
Second item
o Indented item
o Indented item
You can see the issue clearer on a phone vs the computer screen.
Curiously, if the ordered list is mixed with an unordered list, the extra lines problem disappear (but I want a correct list).
i.e. this markdown:
- First item
- Indented item
- Indented item
- Second item
- Indented item
- Indented item
clipto renders as:
- First item
o Indented item
o Indented item
- Second item
o Indented item
o Indented item