mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Allow <hr> in posts
This commit is contained in:
parent
e73c21779e
commit
80f766127a
|
@ -70,7 +70,7 @@ class FormatterManager
|
|||
$config->set('Core.Encoding', 'UTF-8');
|
||||
$config->set('Core.EscapeInvalidTags', true);
|
||||
$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);
|
||||
|
||||
$purifier = new HTMLPurifier($config);
|
||||
|
|
Loading…
Reference in New Issue
Block a user