Quote:
Originally Posted by meme
If I recall correctly, the nbsp character is replaced with an entity as soon as the file is opened, otherwise it would be lost by later routines.
|
I inserted the Doctype entry at the beginning of the xhtml and html files inside my test epub and retested.
With the inclusion of the Doctype entry, as has been stated previously, everything worked fine. There was no 'not well formed' message, the nbsp entries were included, and the file validated.
My question is - Could the presence of 'Doctype' be noted, and inserted if not present, as the very first thing when the xhtml or html files are parsed?
Bob