View Single Post
Old 06-03-2016, 12:02 PM   #5
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,194
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by theducks View Post
Even Baens (conversion?) EPUBs include an additional nested Div for each chapter split, so by the 10th chapter, the CODE is indented half way across the screen. I have a 'BaenDeDiv saved search&replace that I run against all files (sometimes as many as 50 passes). The book looks fine. The code was bloated and Ugly.
Ducks I use Diapdealers "Diap's Editing Toolbag" to delete them.
Code:
  • Action: delete
  • tag name: div
  • Having the attribute: id
  • whose value is: calibre_pb_\d+
  • and tick the regex box.
Get's rid of them in one pass.

bernie
gbm is offline   Reply With Quote