From 63679426b6f9435fdaa36e8b14a40019943b597e Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Tue, 21 Dec 2021 19:06:28 +0000 Subject: [PATCH] [UTIL][HTML] Allow and
tags --- src/Util/HTML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/HTML.php b/src/Util/HTML.php index c56bd1cd6b..160e2f0b36 100644 --- a/src/Util/HTML.php +++ b/src/Util/HTML.php @@ -39,7 +39,7 @@ abstract class HTML */ public const NO_INDENT_TAGS = ['a', 'b', 'em', 'i', 'q', 's', 'p', 'sub', 'sup', 'u']; - public const ALLOWED_TAGS = ['p', 'br', 'a', 'span', 'div']; + public const ALLOWED_TAGS = ['p', 'b', 'br', 'a', 'span', 'div', 'hr']; public const FORBIDDEN_ATTRIBUTES = [ 'onerror', 'form', 'onforminput', 'onbeforescriptexecute', 'formaction', 'onfocus', 'onload',