mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #686] MD052: "Error: Property 'range' of onError parameter is incorrect." #2358
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#2358
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 @scottamain on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/686
My Markdown file includes some math formulas, and it appears that some mixed bracket-and-parentheses interval notations, such as [0, N), causes the following error:
I've been able to narrow down the offending text to the following strings in a list. I can reproduce the error only when these strings are in this exact order and in a list (I've removed all other text that doesn't seem to affect the error). So you should be able to reproduce the error with this
test.mdfile:@DavidAnson commented on GitHub (Dec 22, 2022):
Link to reproduce with demo page: (as of v0.26.2): https://dlaa.me/markdownlint/#%25m%23%20Test%20MD052%20error%0A%0A*%20%5B0%2C%20N)%0A*%20%60inputs%5B0%5D%5Bd%5D%60%0A*%20%60inputs%5Bk%5D%60%0A
@DavidAnson commented on GitHub (Dec 22, 2022):
This issue does not reproduce in the
nextbranch which will become the next release soon. The commit that fixed it is: https://github.com/DavidAnson/markdownlint/commit/6974cd6012afbcb3bce95ff78d177a1730845202. Thank you for reporting the issue!@scottamain commented on GitHub (Dec 22, 2022):
Great thank you!