From: Andrew Dolgov Date: Tue, 12 Apr 2011 15:35:13 +0000 (+0400) Subject: htmlpurifier: suppress HTML.Allowed deprecation warning X-Git-Tag: 1.5.3~56 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1849a788cc337e57f430bf56c9f8072e4d525617;p=tt-rss.git htmlpurifier: suppress HTML.Allowed deprecation warning --- diff --git a/functions.php b/functions.php index 141d7bc8..bccb99d2 100644 --- a/functions.php +++ b/functions.php @@ -117,7 +117,7 @@ $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);