summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <[email protected]>2013-03-24 17:50:20 +0100
committerAndrew Dolgov <[email protected]>2013-03-24 22:43:05 +0400
commit5d5e2e3ae8b0dd11cfc2d2f6eb6a1542b19ff5c7 (patch)
tree5fba5c3b892054dc708bcd79997d5fadd831c264
parent9a73994c5eaf14c62b007d19f5cbc06e8eb551b2 (diff)
strip_harmful_tags: allow center
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 57838182b..962ebb057 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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',