mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-04 21:11:48 +01:00
Update helpers.flattenLists to provide correct lastLineIndex for lists with an empty last item (fixes #529).
This commit is contained in:
parent
4560ccc1cd
commit
85d720cefc
6 changed files with 175 additions and 10 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#
|
||||
|
||||
-
|
||||
(bare list item marker)
|
||||
(bare list item marker {MD032:3})
|
||||
|
||||
1.
|
||||
(bare list item marker)
|
||||
(bare list item marker {MD032:6})
|
||||
|
||||
-a
|
||||
(not a list item)
|
||||
|
|
@ -16,6 +16,6 @@
|
|||
|
||||
1. a
|
||||
|
||||
- a
|
||||
- a {MD030}
|
||||
|
||||
1. a
|
||||
1. a {MD030}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue