mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-20 22:16:09 +01:00
Update MD026/no-trailing-punctuation to handle empty punctuation paramater, escape for RegExp (fixes #205).
This commit is contained in:
parent
d336a11665
commit
91b4fcd55f
6 changed files with 39 additions and 13 deletions
13
test/heading_trailing_punctuation_empty.md
Normal file
13
test/heading_trailing_punctuation_empty.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Heading Trailing Punctuation
|
||||
|
||||
## Heading .
|
||||
|
||||
## Heading ,
|
||||
|
||||
## Heading ;
|
||||
|
||||
## Heading :
|
||||
|
||||
## Heading !
|
||||
|
||||
## Heading ?
|
||||
Loading…
Add table
Add a link
Reference in a new issue