Improve handling of nested tags and blocks by MD033/no-inline-html (fixes #179).

This commit is contained in:
David Anson 2019-04-29 22:09:03 -07:00
parent 44fac78721
commit 4c7ffdd335
7 changed files with 372 additions and 18 deletions

View file

@ -6,24 +6,56 @@
[text](<>) {MD042}
[text]( <> ) {MD042}
[text](<> "title") {MD042}
[text]( <> "title" ) {MD042}
[text](#) {MD042}
[text]( # ) {MD042}
[text](# "title") {MD042}
[text]( # "title" ) {MD042}
[text][frag] {MD042}
[text][ frag ] {MD042}
[frag]: #
## Non-empty links
[text](link)
[text]( link )
[text](link "title")
[text]( link "title" )
[text](<link>)
[text]( <link> )
[text](<link> "title")
[text]( <link> "title" )
[text](#frag)
[text]( #frag )
[text](#frag "title")
[text]( #frag "title" )
[text][ref]
[text][ ref ]
[ref]: link
[text]