markup icon indicating copy to clipboard operation
markup copied to clipboard

[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.

Open 0009-0009-1013-986X opened this issue 9 months ago • 5 comments

Similarly to issues/1857, checkboxed lists that contain CommonMark-adherent child list entries, without checkboxes, render in incorrect places. Consider:

This renders.

  1. [ ] This renders.

  2. [ ] This renders.

    1. [ ] This renders.

      This renders.

      • This does not render.

      • This does not render.

      This renders.

      1. [ ] This renders.

      2. [ ] This renders.

    2. [ ] This renders.

This renders.

This renders.

The markup of it is:

#### 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
Image Image

0009-0009-1013-986X avatar Feb 27 '26 11:02 0009-0009-1013-986X

Similarly to issues/1857, checkboxed lists that contain CommonMark-adherent child list entries, without checkboxes, render in incorrect places. Consider:

This renders.

  1. [ ] [ ] This renders. 2. [ ] [ ] This renders.

    1. [ ] [ ] This renders.

      This renders.

      This renders.

      1. This does not render.2. This does not render.3. [ ] [ ] This renders.4. [ ] [ ] This renders.2. [ ] [ ] This renders.

This renders.

This renders.

The markup of it is:

This renders.

  1. [ ] This renders.

  2. [ ] This renders.

    1. [ ] This renders.

      This renders.

      • This does not render.

      • This does not render.

      This renders.

      1. [ ] This renders.

      2. [ ] This renders.

    2. [ ] This renders.

This renders.

This renders. It renders as expected in the previewer:

Previewed Actual Image Image

juncas2205-debug avatar Apr 03 '26 20:04 juncas2205-debug

Si aras algo porfavor expesificar el problema

  • [ ]

juncas2205-debug avatar Apr 03 '26 20:04 juncas2205-debug

@juncas2205-debug, your comments are nonsensical. I shall block you, for spam.

0009-0009-1013-986X avatar Apr 03 '26 21:04 0009-0009-1013-986X

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 03 '26 13:06 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 09 '26 12:09 github-actions[bot]

〃

0009-0009-1013-986X avatar Sep 10 '26 21:09 0009-0009-1013-986X