Quote:
Originally Posted by cramoisi
Also, the reason people use less & nbsp is because it doesn't validate xhtml or XML in html5 for the only html entities you can have in a xml are & amp lt gt, quot and apos (but it's like my opinion  )
|
It most definitely validates as XHTML since it's part of the DTD (see
here). In XHTML5 they would be undefined by default due to the lack of a DTD (see
here), but as far as valid XML goes you could just copy the old definitions if you wanted to use them. Something along these lines should to the trick.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [
<!ENTITY nbsp "*"> <!-- no-break space = non-breaking space,
U+00A0 ISOnum -->
]>
<html xmlns="http://www.w3.org/1999/xhtml">
NB I'm not saying a thing about EPUB.