From 5d5e2e3ae8b0dd11cfc2d2f6eb6a1542b19ff5c7 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 24 Mar 2013 17:50:20 +0100 Subject: strip_harmful_tags: allow center --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- cgit v1.2.3