View Single Post
Old 10-27-2015, 01:25 PM   #114
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,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi sinclair,

I simply can not recreate this at all. mdash and nbsp seem to be working well and no duplication or anything else.

That said, if your html is not well formed ie. missing an opening < or closing > or /> , the gumbo parser will do strange things to try and prevent removal of your data. So please load up a copy of your file and run SanityCheck (the checkmark) on it. Please let me know what it tells you.

KevinH

Quote:
Originally Posted by sinclair View Post
Hi everyone,

Sorry if this has already been reported elsewhere, but I seem to have found a serious bug that is making Sigil pretty much unusable for producing a clean epub. I'm using version 0.8.901 on Windows 10 and it keeps messing up the html escape characters in my html documents. For example, when I open my html file in Sigil it changes an emdash ( &mdash into &amp;amp;mdash; Unfortunately it's also doing the same to single double quotes and basically every html escape I have in my html file.
If I go into 'Preferences' and then 'Clean Source' and untick both the 'Open' and 'Save' boxes for automatically cleaning the html source, it makes no difference. If I correct the html escape codes and then save and close the epub, when I reopen it, it once again messes up all the html escape characters. Similarly, if I add all the html escape characters to the 'Preserve Entities' box that doesn't seem to make any difference either. Hope this information is helpful.

Paul
KevinH is offline