mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
A list with empty lines extends into the next paragraph. #717
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @snnz on GitHub (Jan 3, 2025).
Noticed this while looking at the test samples in #839.
CommonMark spec states that a list item can begin with at most one blank line. Example 280 demonstrates this.
The result is:
If one more empty item is added
Everything is as expected again:
But if a blank line is inserted between the items:
The result is suddenly
Isn't this strange?
@xoofx commented on GitHub (Feb 2, 2025):
Repro here
Yes, it's probably a bug.
@MihaZupan commented on GitHub (Oct 20, 2025):
This one presumably got fixed by #888 with the 0.42.0 release.