View Single Post
Old 04-05-2012, 12:16 AM   #1
rurdyrucker
Member
rurdyrucker began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2012
Device: iPad, Kindle, iPhone, Windows
Cluttered Calibre style code in EPUB

If I feed an RTF or a simple HTML to Calibre, it puts in overly many (in my opinion) styles with opaque names, and has oddly intricate knots of styles for things a simple as a <br /> tag, which becomes <br class="calibre107" /> or something.

I have learned to format my HTML with a nice CSS stylesheet and paste those styles into the Convert Books | Look and Feel | Extra CSS box, and then I don't get so many alien inscrutable Calibre styles. But there are still a lot more crud than I'd like

I'm talking about something like

<h1 class="flurbheader" id="calibre_pb_0"><strong class="calibre11">Section Title</strong><br class="calibre5" />

where all I need is
<h1 class="flurbheader">Section Title</h1><br/>

I guess the answer is maybe that I shouldn't care if the production HTML in my EPUB is clean or not...
rurdyrucker is offline   Reply With Quote