mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #98] MD026 (Trailing punctuation in header) does not consider HTML Entities #83
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MetaFight on GitHub (Dec 13, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/98
If I want my header to use angular brackets then MD026 fires incorrectly.
Example:
The trailing
;of the Greater-Than HTML Entity gets interpreted as punctuation. I guess HTML Entities should be resolved before MD026 runs.@DavidAnson commented on GitHub (Dec 13, 2017):
I think this is a duplicate of #62. CommonMark lets you escape angle brackets with backslash: http://spec.commonmark.org/0.28/#backslash-escapes
@MetaFight commented on GitHub (Dec 13, 2017):
Ah, good catch. I checked the open bugs for a duplicate but I didn't consider the closed bugs. I'll use the slash-escape approach then.
Cheers.