View Single Post
Old 11-09-2010, 03:41 AM   #3
swifty.tom
Junior Member
swifty.tom began at the beginning.
 
Posts: 2
Karma: 12
Join Date: Nov 2010
Device: Kindle 3
This is the solution I ended up using:
- open the PDB in PSPad
- Replace reg. exp. ^(.+)$ with <p>$1</p> (turns all lines into paragraphs)
- Replace reg. exp ^$ with <br/> (turns all blank lines into line breaks)
- add a HTML head for the additional meta info including encoding
- save as HTML and import to Calibre

This will keep the original formatting in the final MOBI output.
swifty.tom is offline   Reply With Quote