This isn't a conversion problem, per se; it's more of a confusion.
When an HTML file is converted to EPUB and chapter breaks are inserted before <h1> or <h2> tags ([Structure detection] options), at the end of each html "page" in the EPUB I'll see the following code:
Code:
<div class="calibre2" id="calibre_pb_0"></div>
, where "pb_0" increases by two on every subsequent html "page".
This code is not in the original HTML file, the "id" is not referenced anywhere else in the EPUB file (as far as I can tell), and the css for "calibre2" is just "display: block".
Can someone explain what this HTML code is doing, and what—if any—function it has for readability/epub validation/etc. after the converted file has been generated?