Update MD033/no-inline-html to ignore HTML in labels for reference links/images (fixes #658).

This commit is contained in:
David Anson 2022-12-06 22:57:45 -08:00
parent cba5e8d340
commit 2146bbae5f
6 changed files with 101 additions and 6 deletions

View file

@ -120,3 +120,14 @@ code {MD046:114}
Text `code <element> code` text
Text <element> text {MD033}
A [<link-with>][a-reference] is problematic. {MD033}
A [link with][a-<reference>] is okay.
A link with [a-<reference>][] is problematic. {MD033}
A link with [a-<reference>] is problematic. {MD033}
[a-reference]: https://example.com/
[a-<reference>]: https://example.com/