View Single Post
Old 04-04-2014, 08:45 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
The utf-8 character for nbsp is displayed by the calibre Editor as a small orange rectangle. One can count it separately from the "traditional"   and perform a search/replace from one to another.

Take an average EPUB made with Sigil with named entities   and DOCTYPE: Opening it with the calibre's Editor, if you select "fix html" or "Beautify", or if you merge some chapters, the DOCTYPE disappears and the named entities   are replaced by the orange rectangle. The standalone element disappears also from the XML declaration.

It's possible to come back to the initial situation using some regexes but it is still unclear for me what to write exactly in the XML declaration: the choice being between standalone='yes' or nothing.

Last edited by roger64; 04-04-2014 at 09:38 AM.
roger64 is offline   Reply With Quote