]> git.wh0rd.org Git - tt-rss.git/commitdiff
html allowed: enable table,tr,td
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Apr 2011 10:28:27 +0000 (14:28 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Apr 2011 10:28:27 +0000 (14:28 +0400)
functions.php

index d069ea5f21c4b7409bb1f6837b957ec8265aae64..aa50433e336ea8c5f7b8514a2c03e2ccb5f81aa6 100644 (file)
 
        $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);