I have certain elements in my html styled with page-break-after: always; However this is not recognized in the resulting PDF. For example, here are two table elements separated by a p element with style="page-break-after: always;". There is no page break in the resulting PDF between the two tables:
If I rework the html to remove the page-break-after styling on the p element between the tables and instead put "page-break-before: always;" on the second table, it seems to work as expected.
I have certain elements in my html styled with
page-break-after: always;
However this is not recognized in the resulting PDF. For example, here are two table elements separated by a p element with style="page-break-after: always;". There is no page break in the resulting PDF between the two tables: