add h4,h5,h6 for purify whitelist

This commit is contained in:
Klaus Leithoff 2010-04-16 12:32:58 +00:00
parent 145423add8
commit 2914b02d12

View File

@ -247,7 +247,7 @@ class html
$config->set('HTML.Allowed', 'br,p[align],b,i,u,s,em,pre,tt,strong,strike,center,div[align],hr[class|style],'. $config->set('HTML.Allowed', 'br,p[align],b,i,u,s,em,pre,tt,strong,strike,center,div[align],hr[class|style],'.
'font[size|color],'. 'font[size|color],'.
'ul[type],ol[type|start],li,'. 'ul[type],ol[type|start],li,'.
'h1,h2,h3,'. 'h1,h2,h3,h4,h5,h6,'.
'span[class|style],'. 'span[class|style],'.
'table[class|border|cellpadding|cellspacing|width|style|align|bgcolor|align],'. 'table[class|border|cellpadding|cellspacing|width|style|align|bgcolor|align],'.
'tbody,thead,tfoot,colgroup,'. 'tbody,thead,tfoot,colgroup,'.