summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-25 14:28:27 +0400
committerAndrew Dolgov <[email protected]>2011-04-25 14:28:27 +0400
commita58fd801abb3d127d73c9aec5c4a93eea7f97ae7 (patch)
treeda4dad9ef850824066e396ffc2b7b8b8340e462e /functions.php
parentdd50b552f718cda69363dec80a2b4b31694b52e9 (diff)
html allowed: enable table,tr,td
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 d069ea5f2..aa50433e3 100644
--- a/functions.php
+++ b/functions.php
@@ -114,7 +114,7 @@
$config = HTMLPurifier_Config::createDefault();
- $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]";
+ $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],table,tr,td";
$config->set('HTML.SafeObject', true);
@$config->set('HTML', 'Allowed', $allowed);