mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #958] [Duplicate] Section title with links leads to MD051 #2418
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#2418
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 @svg153 on GitHub (Sep 7, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/958
Problem Description
What is actually happening
With new markdownlint v0.30.0 the
MD051rule fails when you have a link to title with link.What is the expected behavior
Define if "it is valid" to have a title with link or not. If yes, not failed, if not, and add a unit test to check this behavior. In both cases, document this case.
Context
Could be related to https://github.com/DavidAnson/markdownlint/issues/954#issuecomment-1707634031?
.pre-commit-config.yamlThe new v0.36.0 of igorshubovych/markdownlint-cli use the new version of DavidAnson/markdownlint
.markdownlint.jsonapps/README.md@DavidAnson commented on GitHub (Sep 7, 2023):
Looks like a duplicate of #945 which is already fixed for the next release.
@svg153 commented on GitHub (Sep 7, 2023):
OK thanks. I looked to see if it was already open or fixed, but I didn't find that issue... Sorry.