idyll-lang/idyll

Nested unordered lists don't work

Open

#653 创建于 2020年6月30日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (1,977 star) (97 fork)batch import
Compilerbughelp wanted

描述

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.

贡献者指南