View Single Post
Old 06-19-2012, 03:25 AM   #111
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
Quote:
Originally Posted by DiapDealer View Post
Couple of things I'm noticing about 0.5.901:

On Windows... the supplied binary is not substituting the html entities for the three characters (soft-hyphen and m- and n-dash) as the code (and the devs) seems to suggest it should. I've tried on XP, Vista, Win7 32-bit, and Win7 64-bit. The original source of the ePub remains unchanged... entity stays entity and character stays character.
If you switch from CV -> BV then back to CV, do the entities appear as expected?

From src/Sigil/BookManipulation/CleanSource.cpp, Tidy in Sigil is configured to preserve entities:
Code:
tidyOptSetBool( tidy_document, TidyPreserveEntities, yes );
from the Tidy manual page:
Code:
preserve-entities

              Type:    Boolean
              Default: no
              Example: y/n, yes/no, t/f, true/false, 1/0

              This option specifies if Tidy should preserve the well-formed entitites as found in the input.
Ahmad Samir is offline