mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update MD026/no-trailing-punctuation to ignore the trailing semicolon of HTML entity references (fixes #320).
This commit is contained in:
parent
09c5736385
commit
c693a9a3d8
3 changed files with 33 additions and 1 deletions
|
@ -922,6 +922,10 @@ allowed by default because of how common it is in headings of FAQ-style document
|
|||
Setting the `punctuation` parameter to `""` allows all characters - and is
|
||||
equivalent to disabling the rule.
|
||||
|
||||
Note: The trailing semicolon of
|
||||
[HTML entity references](https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references)
|
||||
like `©`, `©`, and `©` is ignored by this rule.
|
||||
|
||||
Rationale: Headings are not meant to be full sentences. More information:
|
||||
<https://cirosantilli.com/markdown-style-guide#punctuation-at-the-end-of-headers>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue