mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #428] MD032 is not triggered when list is not followed by a blank line #2204
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @trihlord on GitHub (Sep 14, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/428
MD032 is not triggered when list is not followed by a blank line
markdownlint~0.23.1How to Reproduce
Create .md file with following content from documentation
Process it with markdownlint
Expected Behavior
Actual Behavior
@DavidAnson commented on GitHub (Sep 14, 2021):
The output of the linter is correct, line 8 is part of list item 2.
https://dlaa.me/markdownlint/#%25m%23%20List%20blanks%0A%0ASome%20text%0A-%20Some%0A-%20List%0A%0A1.%20Some%0A2.%20List%0ASome%20text%0A
The specification calls this "lazy continuation lines" and example 291 is the most relevant.
https://spec.commonmark.org/0.30/#lazy-continuation-line
@NomarCub commented on GitHub (Sep 10, 2022):
For others like me, looking for more info, this came up previously here: #211, #212.