mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-16 01:11:30 +01:00
Aggiunta tag h1...h6 come elementi permessi in editor di testo
This commit is contained in:
parent
c8ad894de0
commit
36fbde507b
@ -173,7 +173,7 @@ class Filter
|
||||
if (empty(self::$purifier)) {
|
||||
$config = \HTMLPurifier_Config::createDefault();
|
||||
|
||||
$config->set('HTML.Allowed', 'br,p[style],b[style],strong[style],i[style],em[style],u[style],strike,a[style|href|title|target],ol[style],ul[style],li[style],hr[style],blockquote[style],img[style|alt|title|width|height|src|align],table[style|width|bgcolor|align|cellspacing|cellpadding|border],tr[style],td[style],th[style],tbody,thead,caption,col,colgroup,span[style],sup');
|
||||
$config->set('HTML.Allowed', 'br,p[style],b[style],strong[style],i[style],em[style],u[style],strike,a[style|href|title|target],ol[style],ul[style],li[style],hr[style],blockquote[style],img[style|alt|title|width|height|src|align],table[style|width|bgcolor|align|cellspacing|cellpadding|border],tr[style],td[style],th[style],tbody,thead,caption,col,colgroup,span[style],sup,h1[style],h2[style],h3[style],h4[style],h5[style],h6[style]');
|
||||
|
||||
//$config->set('Cache.SerializerPath', realpath(__DIR__.'/cache/HTMLPurifier'));
|
||||
$config->set('Cache.DefinitionImpl', null);
|
||||
|
Loading…
Reference in New Issue
Block a user