strip_harmful_tags: allow center
This commit is contained in:
committed by
Andrew Dolgov
parent
9a73994c5e
commit
5d5e2e3ae8
@@ -2666,7 +2666,7 @@
|
|||||||
$entries = $doc->getElementsByTagName("*");
|
$entries = $doc->getElementsByTagName("*");
|
||||||
|
|
||||||
$allowed_elements = array('a', 'address', 'audio', 'article',
|
$allowed_elements = array('a', 'address', 'audio', 'article',
|
||||||
'b', 'big', 'blockquote', 'body', 'br', 'cite',
|
'b', 'big', 'blockquote', 'body', 'br', 'cite', 'center',
|
||||||
'code', 'dd', 'del', 'details', 'div', 'dl', 'font',
|
'code', 'dd', 'del', 'details', 'div', 'dl', 'font',
|
||||||
'dt', 'em', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
|
'dt', 'em', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
|
||||||
'header', 'html', 'i', 'img', 'ins', 'kbd',
|
'header', 'html', 'i', 'img', 'ins', 'kbd',
|
||||||
|
|||||||
Reference in New Issue
Block a user