forked from GNUsocial/gnu-social
[UTIL][HTML] Allow <b> and <hr> tags
This commit is contained in:
parent
a28c0da4af
commit
63679426b6
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user