]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
htmlpurifier: suppress HTML.Allowed deprecation warning
[tt-rss.git] / functions.php
index 141d7bc8c71e266768e987c18bb20401d3d38e5d..bccb99d2a718b29337b854be44dac11651d5ea40 100644 (file)
        $allowed = "p,a[href],i,em,b,strong,code,pre,blockquote,br,img[src|alt|title],ul,ol,li,h1,h2,h3,h4,s,object[classid|type|id|name|width|height|codebase],param[name|value]";
 
        $config->set('HTML.SafeObject', true);
-       $config->set('HTML', 'Allowed', $allowed);
+       @$config->set('HTML', 'Allowed', $allowed);
        $config->set('Output.FlashCompat', true);
        $config->set('Attr.EnableID', true);