Thread: Losing content
View Single Post
Old 07-17-2015, 12:27 PM   #11
xovo
Junior Member
xovo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: Kindle Fire, iPad 2, Nexus
Quote:
Originally Posted by KevinH View Post
Hi,
Again, if you can recreate this reliably, please post a sample document and the exact set of steps taken to cause this to happen, and I would be happy to look at fixing this.

Thanks,

KevinH
Hi KevinH,
Here's a simple way to recreate the problem in the attached css_loss.epub file:

1. Open the file in Sigil.
2. Open the css_loss.html file. It will be 2737 lines long.
3. Remove the slash at the end of the self-closing <a> tag in line 17. (Anything that will cause Sigil to note that "EPUB saved, but not all HTML files are well formed" will work. Removing a closing tag somewhere is the quickest.)
4. Open the Styles folder. Rename one of the CSS files.
5. The css_loss.html file will be truncated close to the line that causes the HTML to be malformed. For example, if you remove the closing <li> tag from line 127 of the css_loss.html file and then rename one of the CSS files, the css_loss.html file will be truncated to line 132.

I run Sigil 0.8.6 on Windows 8.1. If you have the time to check it out that's great, but no worries otherwise. I manage to avoid doing this to myself 99% of the time.
Attached Files
File Type: epub css_loss.epub (481.4 KB, 141 views)

Last edited by xovo; 07-17-2015 at 12:29 PM.
xovo is offline   Reply With Quote