[UTIL][HTML] Allow <b> and <hr> tags

This commit is contained in:
Hugo Sales 2021-12-21 19:06:28 +00:00 committed by Diogo Peralta Cordeiro
parent a28c0da4af
commit 63679426b6
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

View File

@ -39,7 +39,7 @@ abstract class HTML
*/ */
public const NO_INDENT_TAGS = ['a', 'b', 'em', 'i', 'q', 's', 'p', 'sub', 'sup', 'u']; 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 = [ public const FORBIDDEN_ATTRIBUTES = [
'onerror', 'form', 'onforminput', 'onbeforescriptexecute', 'formaction', 'onfocus', 'onload', 'onerror', 'form', 'onforminput', 'onbeforescriptexecute', 'formaction', 'onfocus', 'onload',