mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #969] MD007: Alternating fixes for nested list item definition (* * item) #576
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#576
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 @UnkwUsr on GitHub (Sep 13, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/969
List item with heading extra asterisk makes
markdownlintmad so it shifts this line right-left from run to run.I know this is not valid markdown syntax, but it is strange to stuck in loop.
Example
Original:
After running
markdownlint --fix:After running
markdownlint --fix(x2):@DavidAnson commented on GitHub (Sep 13, 2023):
Fun! Did this start in a recent release? (I'd guess it was there for a while.)
https://dlaa.me/markdownlint/#%25m%23%20Issue%20969%0A%0A*%20*%20asd%0A
@DavidAnson commented on GitHub (Sep 14, 2023):
This behavior is present in the first version of
markdownlint-cli2that supported--fix, so it's at least 3 years old. (Not a new regression.)markdownlint-cli2 v0.0.13 (markdownlint v0.22.0).markdownlint.jsonc#2305