allow h4-6 in default purifier definition

This commit is contained in:
Klaus Leithoff 2010-04-22 11:20:00 +00:00
parent d7c8f809bf
commit e4e8e89f13

View File

@ -1407,7 +1407,7 @@ class html
// actual allowed tags and attributes // actual allowed tags and attributes
$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],'.
'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,'.