View Single Post
Old 05-13-2013, 02:12 PM   #20
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by yekim54 View Post
@roger64:

(1) I opened chapter.xhtml from your nbsp.epub file in Notepad++ and there were zero &nbsp in the file.

(2) I opened your nbsp.epub with Sigil 0.7.2 and there were zero &nbsp in the chapter.xhtml file.

(3) I opened your nbsp.epub with Sigil 0.6.2 and there were 12 &nbsp in the chapter.xhtml file.

(4) I saved (3) as nbsp_new.epub and opened it in Sigil 0.7.2, and there were 12 nbsp in the chapter.xhtml file.

(5) I opened chapter.xhtml from my nbsp_new.epub file in Notepad++ and there were 12 &nbsp in the file.

Conclusion: it appears Sigil 0.6.2 added 12 &nbsp to your original nbsp.epub file.
That would seem a reasonable thing for Sigil to do. In 6.2 it would preserve double spaces by making one a nbsp. 7.2 doesn't do that any longer but as you pointed out it does not remove them either. It would seem that 7.2 leaves the double spaces in the file but does not attempt to preserve them in the output.

Dale
DaleDe is offline   Reply With Quote