From: Andrew Dolgov Date: Mon, 25 Apr 2011 10:28:27 +0000 (+0400) Subject: html allowed: enable table,tr,td X-Git-Tag: 1.5.4~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a58fd801abb3d127d73c9aec5c4a93eea7f97ae7;p=tt-rss.git html allowed: enable table,tr,td --- 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);