Quote:
	
	
		
			
				
					Originally Posted by  tompe
					 
				 
				mobi2html assumed that you have packed correct HTML code. Your example file does not contain correct HTML code. If you put the code inside <pre> it will work better at least. 
			
		 | 
	
	
 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.
-Nick