I am currently using DOMPDF version 0.8.0 and facing an issue with nested ordered lists when printing. Despite applying correct page breaks, the PDF still displays a bug with the first line on all pages starting from the second page. Here is my current styling:
ol { counter-reset: item; padding-left: 0; line-height: 1;}
ol > li{ counter-increment: item; list-style-type:none; padding-left:2.5em;position: relative; page-break-inside: avoid;}
ol li:before{ content:counters(item, ".") '. ' ; top: 0; left: 0; position:absolute; font-weight: bold;}
ol > li li{ padding-left:2.5em; page-break-inside: avoid; }
The problem arises in the following output sections: 2nd page: https://i.sstatic.net/14Wg1.png
3rd page:
https://i.sstatic.net/mSQ61.png
If anyone has suggestions for resolving this issue effectively, I would greatly appreciate it. Thank you in advance.