idyll-lang/idyll

Nested unordered lists don't work

开放

#653 创建于 2020年6月30日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (97 个派生)batch import
Compilerbughelp wanted

仓库指标

星标
 (1,977 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南