[GH-ISSUE #98] MD026 (Trailing punctuation in header) does not consider HTML Entities #83

Closed
opened 2026-03-03 01:23:35 +03:00 by kerem · 2 comments
Owner

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:

### Building <application>

The trailing ; of the Greater-Than HTML Entity gets interpreted as punctuation. I guess HTML Entities should be resolved before MD026 runs.

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: ``` ### Building <application> ``` The trailing `;` of the Greater-Than HTML Entity gets interpreted as punctuation. I guess HTML Entities should be resolved before MD026 runs.
kerem 2026-03-03 01:23:35 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@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

<!-- gh-comment-id:351462278 --> @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
Author
Owner

@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.

<!-- gh-comment-id:351463264 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#83
No description provided.