From a58fd801abb3d127d73c9aec5c4a93eea7f97ae7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Apr 2011 14:28:27 +0400 Subject: [PATCH] html allowed: enable table,tr,td --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d069ea5f..aa50433e 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); -- 2.39.5