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:
David Anson 2023-05-23 04:01:55 +00:00
parent 054f208e9a
commit 488813f7f7
7 changed files with 136 additions and 102 deletions

View file

@ -25,3 +25,8 @@ Duplicate links in tables should be handled:
| Link | Same Link | Violation |
|----------------------|----------------------|-----------|
| https://example.com/ | https://example.com/ | {MD034} |
This is not a bare URL: [text [undefined] text](https://example.com).
This is a bare URL: [text [defined] text](https://example.com). {MD034}
[defined]: https://example.com