mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-14 17:38:07 +01:00
Update MD034/no-bare-urls to scan all tokens when pruning HTML content so open/close pairs with different parents are handled (fixes #966).
This commit is contained in:
parent
de5fa400e7
commit
daec896b8d
5 changed files with 100 additions and 60 deletions
|
|
@ -59,6 +59,26 @@ https://example.com
|
|||
<pre>https://example.com</pre>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
https://example.com
|
||||
</div>
|
||||
|
||||
<div>
|
||||
https://example.com
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
https://example.com
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
https://example.com
|
||||
|
||||
</div>
|
||||
|
||||
URLs in link and image text are not bare:
|
||||
|
||||
Text [link to https://example.com site](https://example.com) text.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue