View Single Post
Old 10-26-2012, 01:26 PM   #1
csokol
Junior Member
csokol began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: Kindle
Converting HTML to EPUB - <pre> and <code> issues

Hello,

I'm trying to convert html to epub using ebook-convert.

I'm having some problems with <code> tags inside <pre> tags, only when using moon reader with epubs converted with calibre. With aldiko and iBooks readers it's working fine.

Here is a excerpt of the html to be converted (it's a very confuse html because it's generated automatically by the syntax highlighter pygments):
https://gist.github.com/3960008

Here is a print screen of what moon reader shows to me when I convert that excerpt:


But what I expected was something at least looking like this:



Any ideas?

Thanks!
csokol is offline   Reply With Quote