mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #697] False positive on MD052 when square brackets are present in the URL #2362
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#2362
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 @ojob on GitHub (Jan 9, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/697
I have a file with following links definitions (note the square brackets in the URLs):
I just upgraded to Markdownlint-cli 0.33.0, based on
markdownlint0.27.0, and now I get the following message against the lines above :This is a false alert, as
[label_name][]is no link anchor, but a part of the address.So for the moment, I disabled the rule, but I think that
markdownlintshould not look for links inside a line defining a link.@nschonni commented on GitHub (Jan 9, 2023):
You're using
[functional-board]as the anchor link, but[dev-board]in the text, so it is flagging a problem@ojob commented on GitHub (Jan 9, 2023):
Ah, sorry that's an issue with my copy-paste, hum! I updated the report.
@ojob commented on GitHub (Mar 24, 2023):
Thanks! I look forward the update to reenable the rule.
@DavidAnson commented on GitHub (Mar 24, 2023):
It's available in the latest library now; the CLI update will likely be in a few weeks.