From: Tomas Chvatal Date: Sun, 24 Mar 2013 16:50:20 +0000 (+0100) Subject: strip_harmful_tags: allow center X-Git-Tag: 1.7.6~320 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5d5e2e3ae8b0dd11cfc2d2f6eb6a1542b19ff5c7;p=tt-rss.git strip_harmful_tags: allow center --- diff --git a/include/functions.php b/include/functions.php index 57838182..962ebb05 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',