From: Andrew Dolgov Date: Tue, 19 Mar 2013 17:57:29 +0000 (+0400) Subject: strip_harmful_tags: allow article X-Git-Tag: 1.7.5~94 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2229e6ed6b07d4a28b04689a21c645bdb83652f7;p=tt-rss.git strip_harmful_tags: allow article --- diff --git a/include/functions.php b/include/functions.php index 4eff1149..affd4d4d 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',