View Single Post
Old 05-09-2009, 01:40 AM   #1
Colaveare
Member
Colaveare began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2009
Device: iphone
<pre> tag issue while converting to epub

Greetings,

I was just wondering if there was a way to strip all <pre> tags when converting from .lit to .epub with calibre

The reason why is that I use calibre as a server to have my ebooks anywhere on my iphone.
But some of the lit files that I have that contain <pre> tags completely play havoc with my iphone text layout.

I have managed to find the following CSS to enter while doing a conversion to at least add line wrap functionality (also adds line wrap to the default epub reader of calibre)

pre {
white-space: pre-wrap;
}


The problem is that all the other layout function that my iphone usually handles do not seem to work (like paragraph indent, line spacing, font type, etc).

Any help would be greatly appreciated.

Last edited by Colaveare; 05-09-2009 at 03:19 PM.
Colaveare is offline   Reply With Quote