could we maybe auto strip the pointless mbpagebreak divs that you see if the epub is a conversion from say an amazon mobi book. I don't have the exact code to hand as I always wipe it manually, but typically there is a single div tag at end of each chapter with a class of of mbpagebreak or similar.
leaving those intact will occasionally lead to a blank page at chapter end as the reader foes on to a new screen as it processes that final line - that is why i prefer to remove them.
UPDATE; I found an un-zapped example. this is from a chapter end in a mobi, converted to epub by calibre
<div class="mbppagebreak" id="calibre_pb_16"></div>
</body>
</html>
Last edited by cybmole; 04-24-2015 at 01:06 AM.
|