mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-27 02:58:48 +01:00
Update definition of helpers.isBlankLine to treat unterminated start/end comments as potentially blank lines (fixes #431).
This commit is contained in:
parent
1b23976aa2
commit
6dea67825a
4 changed files with 67 additions and 11 deletions
38
test/lists-with-commented-items.md
Normal file
38
test/lists-with-commented-items.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Lists with Commented Items
|
||||
|
||||
Text
|
||||
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
<!--
|
||||
- commented subitem: description
|
||||
- commented subitem: description
|
||||
-->
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
|
||||
Text
|
||||
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
<!-- - commented subitem: description
|
||||
- commented subitem: description -->
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
|
||||
Text
|
||||
|
||||
- item <!-- comment -->
|
||||
<!-- - commented subitem: description -->
|
||||
- item <!-- comment -->
|
||||
|
||||
Text
|
||||
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
<!-- - commented subitem: description -->
|
||||
<!-- - commented subitem: description -->
|
||||
- item <!-- comment -->
|
||||
- item <!-- comment -->
|
||||
|
||||
Text
|
||||
Loading…
Add table
Add a link
Reference in a new issue