mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #201] MD033 flagged for element with forward slash inside name #2020
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#2020
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 @nschonni on GitHub (Jul 3, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/201
For the <ProjectTemplates/ItemTemplates> in the following block, it get's flagged by Markdownlint, but it isn't an element that Markdown renders as html
@DavidAnson commented on GitHub (Jul 3, 2019):
There are two parts of this line that look like HTML elements. The first is correctly ignored because the leading angle bracket is escaped by a backslash. The second causes a violation to be reported because the leading angle bracket is not escaped; the double backslashes there escape themselves. However, the Markdown parser does not treat the second instance as an HTML element due to the forward slash embedded in it. The regular expression used by markdownlint doesn’t know about that exceptional case.