diff options
author | Andrew Dolgov <[email protected]> | 2011-04-25 14:28:27 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-25 14:28:27 +0400 |
commit | a58fd801abb3d127d73c9aec5c4a93eea7f97ae7 (patch) | |
tree | da4dad9ef850824066e396ffc2b7b8b8340e462e | |
parent | dd50b552f718cda69363dec80a2b4b31694b52e9 (diff) |
html allowed: enable table,tr,td
-rw-r--r-- | functions.php | 2 |
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); |