entity replacements gone haywire
I had an em dash, written in the format "ampersand pound sign 8212 semicolon" and every time I opened or saved it was replacing the ampersand with & so that after awhile I ended up with
&a mp;amp;amp;amp;amp;amp;amp;amp;#8212;
I've since turned off the Mend XHTML source code on open and save as a workaround. I looked at my sigil.ini and it has
preserve_entity_names="*", "©", "&", "—"
preserve_entity_codes=\xa0\xa9&\x2014
(The web page forum software here replaced the entity codes above; in my sigil.ini they are in the "ampersand pound sign number semicolon" format. The first one, the asterisk, is number 160 in my sigil.ini file.)
In my preferences I have it set to create new epubs as version 3, validation levels for css are set to 3 for both.
Sigil version 5.11.2.
Last edited by lumpynose; 05-19-2019 at 04:55 PM.
|