Ordered list items lose their marker when split between pages
Running 0.2.0, in the previewer in Chrome and when printed, when an ordered list item is split between pages, either the last list item on the previous page, or the first list item on the subsequent page loses its ::marker. This can be fixed by removing the data-split-from
class from the <li>
item itself; doing so makes the marker magically appear again, and does not break the previewer.
See an example of the issue here (missing marker on the list item at the top of the page):
And the <li>
code in question, that has the data-split-from
class applied:
And an example of the code of the <li>
with the data-split-from
class removed (which fixes the issue):
The same example with the data-split-from
class removed, which successfully restores the visibility of the ::marker:
Here's a full rendered example. The issue shows up on page 11: http://testprint2.digiguide.link/manual/19/siteId/1/
I think this is the code just not detecting that this list item has been fully moved to the next page, and is not part of the paragraph/li continued from the previous page. The data-split-from
class is applied, for example, when a <li>
is split so half sits on the previous page, and half sits on the second. An example of this working properly to suppress the ::marker on the continued item can be seen on page 2 of the rendered example.
Also, this does not appear to be an issue with unordered lists. Just ordered lists. Here's an example of an unordered list with a working ::marker:
I'm pretty sure this issue has existed since at least 0.1.42, and perhaps earlier.
Any help is appreciated!