From 2229e6ed6b07d4a28b04689a21c645bdb83652f7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Mar 2013 21:57:29 +0400 Subject: [PATCH] strip_harmful_tags: allow article --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 4eff1149e..affd4d4dc 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2634,7 +2634,7 @@ function strip_harmful_tags($doc) { $entries = $doc->getElementsByTagName("*"); - $allowed_elements = array('a', 'address', 'audio', + $allowed_elements = array('a', 'address', 'audio', 'article', 'b', 'big', 'blockquote', 'body', 'br', 'cite', 'code', 'dd', 'del', 'details', 'div', 'dl', 'dt', 'em', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',