View Single Post
Old 06-20-2012, 08:40 PM   #388
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,948
Karma: 6361444
Join Date: Nov 2009
Device: many
The MobiUnpack tries to massage the original mobi6 mobi code code as little as possible (other than replacing or updating the links). If the original source did not use proper line endings then the html file produced by MobiUnpack will not have proper line endings. Remember line endings (carriage returns, line feeds or some combination) are ignored in html and so some html preprocessing programs will actually remove them to save space.

You can use any regular expressions to add line ends or you choice after every closing </div> or </p> or almost wherever you like.

KevinH


Quote:
Originally Posted by JSWolf View Post
Bug report!

I just used Mobi_Unpack 0.51 to unpack a Mobipocket file and the HTML file I got back is all one line. There needs to be line endings at the different lines.
KevinH is offline   Reply With Quote