idyll-lang/idyll

Nested unordered lists don't work

Open

#653 aberto em 30 de jun. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (97 forks)batch import
Compilerbughelp wanted

Métricas do repositório

Stars
 (1.977 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador