mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #308] [MD042] no-empty-links: every non-empty link after one empty link is also marked as empty #264
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#264
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 @astier on GitHub (Jul 29, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/308
I am not sure this issue should be posted here or on markdownlint-cli. I can migrate it if its wrong here.
Minimal file.md
Steps to reproduce
markdownlint file.mdActual behavior
The output says link2, link3 and link4 are empty:
Expected behavior
Only link2 should be flagged as empty.
@DavidAnson commented on GitHub (Jul 30, 2020):
This is the right place for library issues!
Here’s your repro in the online demo: https://dlaa.me/markdownlint/#%25m%23%20Issue%20308%0A%0A%5Blink1%5D(https%3A%2F%2Fexample.com%2F)%0A%5Blink2%5D()%0A%5Blink3%5D(https%3A%2F%2Fexample.com%2F)%0A%5Blink3%5D(https%3A%2F%2Fexample.com%2F)%0A