[Bug] The presence of `ol.contains-task-list li.task-list-item input.task-list-item-checkbox`s cause `h4 ul > li`s' `ul`s to be moved to the last entrant.
- 主要語言
- Ruby
- 星號
- 6k
- 分支
- 3.4k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Similarly to [`issues/1857`](https://github.com/github/markup/issues/1857#issue-2456610906), checkboxed lists that contain CommonMark-adherent child list entries, without checkboxes, render in incorrect places. Consider:
#### This renders.
1. [ ] This renders.
1. [ ] This renders.
1. [ ] This renders.
#### This renders.
- This does not render.
- This does not render.
#### This renders.
1. [ ] This renders.
1. [ ] This renders.
1. [ ] This renders.
#### This renders.
This renders.
The markup of it is:
~~~Markdown
#### This renders.
1. [ ] This renders.
1. [ ] This renders.
1. [ ] This renders.
#### This renders.
- This does not render.
- This does not render.
#### This renders.
1. [ ] This renders.
1. [ ] This renders.
1. [ ] This renders.
#### This renders.
This renders.
~~~
It renders as expected in the previewer:
Previewed | Actual
-|-
|
貢獻指南
研究方向
從 issue 中巢狀的 Markdown 重現開始,比較其預覽渲染結果和實際渲染結果,重點關注核取方塊任務清單以及標題下的子清單。追蹤處理任務清單項目的標記渲染入口點,然後為此範例新增回歸測試。當先前位置錯誤的子清單項目在其原始位置渲染時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- ruby
- 領域
- documentation
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100