Core not working when served as application/xhtml+xml
|Reported by:||pnutus||Owned by:|
All pages in Core has the following first lines:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
The Doctype implies HTML5, but the xmlns attribute implies XHTML. The server I'm deploying on is interpreting the file as XHTML and serving it as application/xhtml+xml. Some Core pages contain named entities such as , which do not work when the page is served as application/xhtml+xml (at least not in WebKit/Blink browsers).
What is the point of the xmlns attribute, as it is deprecated in HTML5? Should we remove it?