mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #691] Another false positive MD053 for image inside link #512
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#512
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 @chenxsan on GitHub (Dec 28, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/691
When I ran into the issue, I thought it was same as https://github.com/DavidAnson/markdownlint/issues/571.
But seems it's not after testing the syntax under the latest markdownlint 0.27.0.
Here's the code:
And here's the warning I got:
You can reproduce it under https://dlaa.me/markdownlint/.
Note that the code is valid and github issue can render it like below:
testing
@DavidAnson commented on GitHub (Dec 28, 2022):
Your example does not produce a warning for me using
v0.27.0of the demo page. Note that the version of the demo page you link to is still runningv0.26.2per the version number in the header. (Your example does produce a warning for me on the previous version.) What are the steps to produce the issue you are reporting withv0.27.0?@chenxsan commented on GitHub (Dec 28, 2022):
Hi David, definitely my fault here. I had both
markdownlintv0.27.0 andmarkdownlint-cliv0.32.2 installed underdevDependencies, while the latter hasmarkdownlint@0.26.2installed as its dependency per https://github.com/igorshubovych/markdownlint-cli/blob/master/package.json#L46. Obviously runningmarkdownlintfrom npm script would invoke 0.26.2 here.So guess I'll have to wait for
markdownlint-clito update itsmarkdownlintdependency or useresolutionsfeature fromyarnto work around it: