Update MD037/no-space-in-emphasis to avoid crash, handle more scenarios.

This commit is contained in:
David Anson 2020-04-11 12:33:28 -07:00
parent a0afba972c
commit 5c60e00a90
3 changed files with 58 additions and 24 deletions

View file

@ -18,16 +18,16 @@ Escaped underscores _ should \_ be ignored by MD037.
## Double-character markers, start
All should be reported because they are valid single-character
marker emphasis without spaces.
All *could* be reported because they are valid single-character
marker emphasis when no spaces are present.
Escaped asterisks \** should ** be ignored by MD037. {MD037}
Escaped asterisks \** should ** be ignored by MD037.
Escaped asterisks *\* should ** be ignored by MD037. {MD037}
Escaped asterisks *\* should ** be ignored by MD037.
Escaped underscores \__ should __ be ignored by MD037. {MD037}
Escaped underscores \__ should __ be ignored by MD037.
Escaped underscores _\_ should __ be ignored by MD037. {MD037}
Escaped underscores _\_ should __ be ignored by MD037.
## Double-character markers, end