View Single Post
Old 12-30-2007, 08:29 PM   #72
ppxnouse
Connoisseur
ppxnouse began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2007
Location: Aachen
Device: Gen3
Hello tombe,

I currently try to convert some HTML files that contain lots of sample code.
The pages come from various chm files and most of them use the <PRE> tag for the sample code sections.
According to this page: http://www.mobipocket.com/dev/articl...TagRef_OEB.htm
The PRE tag is not supported by Mobipocket readerand so the result is pretty unreadable (all the formatting of the source code sections is removed and you end up with a single line of code).

Since you already do some HTML parsing/replacing, I would love to see html2mobi reformat the <pre> sections (Adding html line breaks, tabs and setting a different font).

BTW: What about adding a CHM decompiler like chmdump, so I can be more lazy ?! ;-)
ppxnouse is offline   Reply With Quote