summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-20 16:34:01 -0800
committerBrion Vibber <brion@pobox.com>2009-11-20 16:35:16 -0800
commit979e0a14aeaa5617e843c155ae1a1928d0f6c398 (patch)
tree625354c7f1f3e6da5c1b36619e47e1a7ad880482 /lib
parenta7be30857a58f04abe585337076796fb363d481b (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')
-rw-r--r--lib/htmloutputter.php5
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