mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update MD034/no-bare-urls to re-scan documents with potential violations using proper reference definition handling to avoid false positives (fixes #787).
This commit is contained in:
parent
054f208e9a
commit
488813f7f7
7 changed files with 136 additions and 102 deletions
|
|
@ -83,8 +83,7 @@ Angle brackets work the same for email: <user@example.com>
|
|||
|
||||
Links bind to the innermost [link that [is-a-valid] link](https://example.com) {MD034}
|
||||
|
||||
But not if the [link [is-not-a-valid] link](https://example.com) {MD034}
|
||||
HOWEVER this scenario could have an invalid shortcut and IS reported
|
||||
But not if the [link [is-not-a-valid] link](https://example.com)
|
||||
|
||||
Escaping both inner square brackets avoids the unwanted report:
|
||||
Escaping both inner square brackets avoids confusion:
|
||||
[link \[is-not-a-valid\] link](https://example.com)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue