#1 2019-10-16 12:32:34

kitty80
Member
Registered: 2019-10-16
Posts: 8

HTML->PDF unnecessary list item for page breaks

I've tried the htm2pdf tool, but there is a problem.

if the list goes to a new page, an empty list element is left on the first page.
See the picture.

FluxBB bbcode test


My simple HTML code:

<OL>
    <LI>LIST 1</LI>
    <LI>LIST 2</LI>
    <LI>LIST 3</LI>
    <LI>LIST 4</LI>
    <LI><EM>LIST 5</EM>:
         <UL>
              <LI><P><EM>SUBLIST 1</EM></P></LI> 
              <LI><P><EM>SUBLIST 2</EM></P></LI>
              <LI><P><EM>SUBLIST 3</EM></P></LI>
              <LI><P><EM>SUBLIST 4</EM></P></LI>
              <LI><P><EM>SUBLIST 5</EM></P></LI>
              <LI><P><EM>SUBLIST 6</EM></P></LI>
              <LI><P><EM>SUBLIST 7</EM></P></LI>
              <LI><P><EM>SUBLIST 8</EM></P></LI>
              <LI><P><EM>SUBLIST 9</EM></P></LI>
         </UL>
   </LI>
</OL>

How can I fix it?

Last edited by kitty80 (2019-10-24 10:24:45)

Offline

Board footer

Powered by FluxBB