Hallo,
we've updated from an older version of EO.PDF (v5.0.87.2) to the current release. Now our HTML-to-PDF conversion is totally screwed up:
Pages aren't rendered at all, some pages are zoomed out and so on.
By trial and error I discovered that EO.PDF has problems with the following HTML (you can try it on your own in the EO.PDF Demo application):
Quote:
<div style="page-break-after: always; margin-top: 15em">
<p>Page 1</p>
</div>
<div style="page-break-after: always">
<p>Page 2</p>
</div>
=> This renders one empty page.
When I remove the margin-top style, it works as expected.
Why is that, there's nothing wrong with this HTML? As suggested in the troubleshooting section in the help, I verified this with Google Chrome: Chrome renders this piece of HTML correctly, too.
This makes me very nervous...how should I rely on the product? Is there an explanation why this is wrong and why I should not use margin-top? Are there other culprits / breaking changes to the former EO.PDF version?