mirror of
https://github.com/flarum/core.git
synced 2025-02-25 19:53:48 +01:00
Allow <hr> in posts
This commit is contained in:
parent
0f08a4378c
commit
9487a56d61
@ -70,7 +70,7 @@ class FormatterManager
|
|||||||
$config->set('Core.Encoding', 'UTF-8');
|
$config->set('Core.Encoding', 'UTF-8');
|
||||||
$config->set('Core.EscapeInvalidTags', true);
|
$config->set('Core.EscapeInvalidTags', true);
|
||||||
$config->set('HTML.Doctype', 'HTML 4.01 Strict');
|
$config->set('HTML.Doctype', 'HTML 4.01 Strict');
|
||||||
$config->set('HTML.Allowed', 'p,em,strong,a[href|title],ul,ol,li,code,pre,blockquote,h1,h2,h3,h4,h5,h6,br');
|
$config->set('HTML.Allowed', 'p,em,strong,a[href|title],ul,ol,li,code,pre,blockquote,h1,h2,h3,h4,h5,h6,br,hr');
|
||||||
$config->set('HTML.Nofollow', true);
|
$config->set('HTML.Nofollow', true);
|
||||||
|
|
||||||
$purifier = new HTMLPurifier($config);
|
$purifier = new HTMLPurifier($config);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user