mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-04 01:20:15 +01:00
Update getHeadingText helper to exclude HTML comments from returned heading text (fixes #1411).
This commit is contained in:
parent
d36a57d680
commit
d5cb5c8546
4 changed files with 33 additions and 2 deletions
|
|
@ -95,6 +95,12 @@ BB
|
|||
|
||||
{MD024:94}
|
||||
|
||||
## Headings <!-- that differ -->
|
||||
|
||||
## Headings <!-- in comments -->
|
||||
|
||||
{MD024:-2}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"heading-style": false,
|
||||
"no-duplicate-heading": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue