mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
A list with empty lines extends into the next paragraph. #714
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?