Quote:
Originally Posted by nrapallo
What I wanted to do was, in 'mobi2html', recognize that the .pdb file was just text (ie. TEXt/REAd), add the correct HTML code (via substitution) internally and then feed it to HTML::TreeBuilder as fixed text (really now simple HTML code).
However, I will try the <pre>...</pre> to see if I get the desired results.
The test .pdb looked find in ubook (with para breaks and all) but 'mobi2html' somehow looses these para breaks. I want to find a way to 'correct' this internally.
|
I see. The problem is that TEXt/REAd can contain HTML also and it will work perfectly well. So you can not use this to indicate that it is a text content. Why do you not just use text and use the --rawhtml flag to get just the text? Why do you want mobi2html to wrap the text in HTML?