View Single Post
Old 09-02-2017, 05:54 AM   #255
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,030
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by HowlerX View Post
Don't know what you changed, but now code like:
Code:
<span epub:type="pagebreak" id="page39" title="39"></span>
or
Code:
<span id="page39" title="39"></span>
is adding a line of space where there shouldn't be one. These are usually used for page numbers in epub. Before version 1.10 of your plugin the line space wasn't there, but now it is. Explanation?
They are not usually used for page numbers. They are usually used to mark where some version pBook page number is in the ePub. In most ePub, those two sets of spans can be deleted. Also, it's also inserted as <a id="page39"/>.

What I do is regex remove them and the do a check of the ePub to make sure they are not needed. If not too many are needed, I leave those and dump the rest.
JSWolf is offline   Reply With Quote