View Single Post
Old 11-25-2010, 07:25 AM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
it is perfectly normal for calibre to create epub paragraphs that look like <p class="calibrenn">....</p> even if you started with <p>...</p>.
I prefer to use my own standard style sheet, so I remove all class="calibrenn" references from the calibre generated xhtml files.

I haven't found a way to do this solely within calibre but it is a simple command in any text editor which supports regular expressions, (regex). I use Notepad++ after exploding the ePub with calibre's Tweak ePub option.
Agama is offline   Reply With Quote