View Single Post
Old 04-24-2015, 01:01 AM   #913
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
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.
cybmole is offline   Reply With Quote