View Single Post
Old 07-10-2015, 09:49 AM   #1
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
Way to turn off Calibre's horrible code generation?

Calibre conversion from ePub to AZW (or anything else) seems to make a mess of HTML code during conversion. Calibre produces verbose, over-constrained, non-semantic code in epub conversion.

For example:
ePub code: <h2>Chapter One</h2>
becomes after conversion:
<p class="caliber_14"><span class="bold"><span class="italic">Chapter One</span></span></p>

In addition, ordinary para tags are classed and spanned willy-nilly. Is it really necessary to change structural HTML so radically in this operation? Is there a way to potty-train Calibre in this respect?
Brett Merkey is offline   Reply With Quote