mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-20 16:00:13 +01:00
Fix array indexing for markdownlint-disable-next-line when front matter is present.
This commit is contained in:
parent
7a76f1d22d
commit
5253669495
3 changed files with 26 additions and 4 deletions
20
test/front-matter-with-disable-next-line.md
Normal file
20
test/front-matter-with-disable-next-line.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
front: matter
|
||||
---
|
||||
|
||||
# Front Matter with Disable-Next-Line
|
||||
|
||||
<!-- markdownlint-disable-next-line no-inline-html -->
|
||||
<hr/>
|
||||
|
||||
<hr/> {MD033}
|
||||
|
||||
<!-- markdownlint-disable-next-line -->
|
||||
<hr/>
|
||||
|
||||
<hr/> {MD033}
|
||||
<hr/> {MD033}
|
||||
<!-- markdownlint-disable-next-line -->
|
||||
<hr/>
|
||||
<hr/> {MD033}
|
||||
<hr/> {MD033}
|
||||
Loading…
Add table
Add a link
Reference in a new issue