X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fhtmloutputter.php;h=d267526c8894f4063b3e8d620383a8591a14887a;hb=40e875f9cc5ec0c17605adcef73205a49f422abd;hp=73bd9ce815b2d129376f09ae56adf9ce78ad395e;hpb=8e58f241739b97bd53f78035781f16e2067a31d9;p=quix0rs-gnu-social.git diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 73bd9ce815..d267526c88 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 @@ -76,7 +75,7 @@ class HTMLOutputter extends XMLOutputter /** * Start an HTML document * - * If $type is not specified, will attempt to do content negotiation. + * If $type isn't specified, will attempt to do content negotiation. * * Attempts to do content negotiation for language, also. *