diff options
author | Brion Vibber <brion@pobox.com> | 2009-11-20 16:34:01 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-11-20 16:34:01 -0800 |
commit | 330ddd1d9bb75a571072116f8324983e4ec9cfa2 (patch) | |
tree | 2d26b94ec05e3aa4f1d3552c110f315dcb40b72f /lib/htmloutputter.php | |
parent | 7abf48932b35ce178d147cb62a5c83ca0f6d0cfc (diff) |
Disable XHTML Content-Type negotiation... You've foiled our plans for the last time!
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.
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index c2ec83c28..d267526c8 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -34,9 +34,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { 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 |