XHTML mode breaks a lot of JS and has been causing trouble for Safari and Chrome, especially with the fancier new UI-side plugins like realtime and maps.
require_once INSTALLDIR.'/lib/xmloutputter.php';
-define('PAGE_TYPE_PREFS',
- 'text/html,application/xhtml+xml,'.
- 'application/xml;q=0.3,text/xml;q=0.2');
+// Can include XHTML options but these are too fragile in practice.
+define('PAGE_TYPE_PREFS', 'text/html');
/**
* Low-level generator for HTML