From 80f766127a193cd678425f8f7efd549bf78e1065 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 3 Jun 2015 18:12:15 +0930 Subject: [PATCH] Allow
in posts --- framework/core/src/Core/Formatter/FormatterManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Core/Formatter/FormatterManager.php b/framework/core/src/Core/Formatter/FormatterManager.php index 6ea88cf7c..7267a70af 100644 --- a/framework/core/src/Core/Formatter/FormatterManager.php +++ b/framework/core/src/Core/Formatter/FormatterManager.php @@ -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);