strip_harmful_tags: allow center

This commit is contained in:
Tomas Chvatal 2013-03-24 17:50:20 +01:00 committed by Andrew Dolgov
parent 9a73994c5e
commit 5d5e2e3ae8
1 changed files with 1 additions and 1 deletions

View File

@ -2666,7 +2666,7 @@
$entries = $doc->getElementsByTagName("*");
$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',
'dt', 'em', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
'header', 'html', 'i', 'img', 'ins', 'kbd',