Update helpers.flattenLists to provide correct lastLineIndex for lists with an empty last item (fixes #529).

This commit is contained in:
David Anson 2022-06-07 22:16:34 -07:00
parent 4560ccc1cd
commit 85d720cefc
6 changed files with 175 additions and 10 deletions

View file

@ -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}