View Single Post
Old 03-24-2010, 02:12 PM   #8
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by walter2 View Post
For anybody that would like to test this problem for themselves, I have the three versions of the file, HTML (rar'd to fit the upload limits), RTF and TXT.
I gave the HTML version of your test file a try just for fun, as I am definitely NOT an expert on HTML. I tried the file with two versions of Sigil (0.1.3 and 0.2B3) and saw the same results that you did. Then I tried running the file through HTML Tidy, but Tidy gave up after over 4000 warnings and over 2000 errors. So next I loaded your HTML file in OpenOffice and then just simply resaved it as HTML again. The OpenOffice HTML file went through Tidy with only a few warnings and no errors. The OpenOffice version of your HTML file also loads fine in both versions of Sigil that I tried. I think that I recall that Sigil automatically tries to clean up an HTML file with Tidy, so it appears that the fact that Tidy aborts while trying to fix your HTML file may be the reason that Sigil ends up with a blank document?

FWIW, the cleaned up file looks fine in Sigil except for some extra large spacing between paragraphs, but then I am not the author so I do not really know what to expect. There are obviously a lot of thing that I could have missed in my quick look. In any case the experience was amusing so thanks for the sample to play with, and I hope my experience in trying out your file may help point you toward a solution.
Dave_S is offline   Reply With Quote