]> git.wh0rd.org Git - tt-rss.git/commitdiff
STRIP_UNSAFE_TAGS: forbid div and span
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 23 Jul 2008 14:27:21 +0000 (15:27 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 23 Jul 2008 14:27:21 +0000 (15:27 +0100)
functions.php

index 5a72f681f0ce7d28fad1dadaeb900b521cbc4f6b..8e2acb2229e14f9567a89da91180819375e3032f 100644 (file)
                if (get_pref($link, "STRIP_UNSAFE_TAGS") || $force_strip_tags) {
 
                        $res = strip_tags_long($res, 
-                               "<p><a><i><em><b><strong><blockquote><br><img><div><span><ul><ol><li>");
+                               "<p><a><i><em><b><strong><blockquote><br><img><ul><ol><li>");
 
 //                     $res = preg_replace("/\r\n|\n|\r/", "", $res);
 //                     $res = strip_tags_long($res, "<p><a><i><em><b><strong><blockquote><br><img><div><span>");