diff options
author | Andrew Dolgov <[email protected]> | 2011-04-12 19:35:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-12 19:35:13 +0400 |
commit | 1849a788cc337e57f430bf56c9f8072e4d525617 (patch) | |
tree | 65c6a6fc83c2c2f8c83830dc919036abccfd0976 /functions.php | |
parent | dbaa4e4aac5e68c6d4714941ae99d3e4028410e5 (diff) |
htmlpurifier: suppress HTML.Allowed deprecation warning
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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); |