resume.benjamintreplin.com, mentioned in the other
post, contains the following:
<style>
p.page { page-break-after: always; }
</style>
and then
<div id="stacks_out_721_page0" class="stacks_out">
<div id="stacks_in_721_page0" class="stacks_in">
<p class="page"></p>
</div>
</div>
The API fails to insert a page break after the <p> element. Most likely the reason is the style set on the parent <div> elements.
The simplest way to resolve this is to remove both the "stacks_out_721_page0" "stacks_in_721_page0" <div> elements, i.e replace the code above with just the following:
<p class="page"></p>
Hope this helps.