summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-12 19:35:13 +0400
committerAndrew Dolgov <[email protected]>2011-04-12 19:35:13 +0400
commit1849a788cc337e57f430bf56c9f8072e4d525617 (patch)
tree65c6a6fc83c2c2f8c83830dc919036abccfd0976 /functions.php
parentdbaa4e4aac5e68c6d4714941ae99d3e4028410e5 (diff)
htmlpurifier: suppress HTML.Allowed deprecation warning
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 141d7bc8c..bccb99d2a 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);