From 1849a788cc337e57f430bf56c9f8072e4d525617 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Apr 2011 19:35:13 +0400 Subject: [PATCH] htmlpurifier: suppress HTML.Allowed deprecation warning --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5