clipto-pro/Desktop

Wrong rendering for nested lists in markdown

snowman55 opened this issue · 0 comments

I have this markdown:

  1. First item

    • Indented item
    • Indented item
  2. Second item

    • Indented item
    • Indented item

which clipto rendered as:

  1. First item

    o Indented item
    o Indented item

  2. 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:

  1. First item
    o Indented item
    o Indented item

  2. 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:

  1. First item
    • Indented item
    • Indented item
  • Second item
    • Indented item
    • Indented item

clipto renders as:

  1. First item
    o Indented item
    o Indented item
  • Second item
    o Indented item
    o Indented item