Hi
One of the good things about switching from one editor to another (here from Sigil to the calibre's Editor) is that you have to look at some things you never looked at before and took for granted.

This is about the
xml declaration:
- The calibre Editor does not use willingly named entities like
&bsp;
So it does not use a DOCTYPE, and does not even need to include a useless
standalone="no" in the XML declaration. Fine.
- This behaviour triggers a mistake in Sigil's display. For a reason: Sigil accepts the use of named entities (among others
), which requires a DOCTYPE, and even adds systematically a
standalone element when you open a document with it.
It seems like when a couple is fighting for the same cover on a cold night... The latter is always right. Happily regexes and a clever option in the Editor help us find a solution.
I only have
one question about it. It's important for French as a 100 000 word book may include close to 10 000
nbsp; or their utf-8 equivalents.
If I keep using
&bsp; in my books, I will of course need to insert a DOCTYPE, but do I need also to insert a
standalone="yes" element in the XML declaration?