idyll-lang/idyll

Nested unordered lists don't work

Open

#653 aperta il 30 giu 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (97 fork)batch import
Compilerbughelp wanted

Metriche repository

Star
 (1977 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Describe the bug Nested unordered lists don't seem to work correctly.

To Reproduce

* AAA
* BBB
* CCC
    * DDD
    * EEE
* FFF

Expected behavior The page should show an unordered list containing items AAA, BBB, CCC, and FFF, and a nested unordered list under item CCC containing items DDD and EEE.

Screenshots Current (incorrect) Idyll output for the above markdown: image

For comparison, here's Jekyll's (correct) output for the same markdown: image I also checked this in GitHub's markdown readme renderer, and it's the same as Jekyll's.

Desktop (please complete the following information):

  • OS: KDE Neon 5.19 (Ubuntu 18.04)
  • Chromium
  • 83.0.4103.61 (Official Build)

Additional context Based on the structure of the HTML output, Idyll seems to interpret this example as three separate top-level lists: (AAA, BBB, CCC), (DDD), (EEE, FFF).

I tried varying the indentation and the bullet characters; this didn't seem to change anything.

Guida contributor