View Single Post
Old 01-08-2009, 10:58 PM   #8
mbagsh55 doesn't littermbagsh55 doesn't litter
Posts: 46
Karma: 196
Join Date: Nov 2007
Location: Kanagawa, Japan
Device: Sony PRS-700/Zaurus SL-3100
Originally Posted by kovidgoyal View Post
IIRC this happens when some paragraph is styled as center aligned and then the remaining text is put after that paragraph without any <p> tags of its own. In that case html2lrf assumes that the style for the subsequent text should be the same as for the previous paragraph.
This is exactly what I have seen with some eReader output converted to HTML. The center aligned tag is followed by a paragraph and then my multiple ugly <br> tags rather than <p> tags with effectively one <P> tag per chapter.

My fix was to correct the HTML with search and replace, but in secondary books I just removed the center align tags.

mbagsh55 is offline   Reply With Quote