1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 07:51:29 +00:00

html allowed: enable table,tr,td

This commit is contained in:
Andrew Dolgov
2011-04-25 14:28:27 +04:00
parent dd50b552f7
commit a58fd801ab

View File

@@ -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);