I ran into the page-break problem too.
Since you are wrangling html code yourself, add this, to the bottom of the <head> section:
<div style="page-break-before:always;"></div>
I was adding a 'frontispiece' after a title heading, and getting a page break. That fixed it.
|