]> git.wh0rd.org - tt-rss.git/commitdiff
disable flash disabling in sanitize_rss
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 28 Sep 2006 13:50:29 +0000 (14:50 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 28 Sep 2006 13:50:29 +0000 (14:50 +0100)
functions.php

index 56c7780719b05fc94c28e45092e45886695e8551..c218b6876f3d8f12153c2ebe6508c97c735f857b 100644 (file)
 
                $res = preg_replace('/<\/script.*?>/i', "</p>", $res);
 
-               $res = preg_replace('/<embed.*?>/i', "", $res);
+/*             $res = preg_replace('/<embed.*?>/i', "", $res);
 
                $res = preg_replace('/<object.*?>.*?<\/object>/i', 
                        "<p class=\"objectWarn\">(Disabled html object 
-                       - flash or other embedded content)</p>", $res); 
+                       - flash or other embedded content)</p>", $res);  */
 
                return $res;
        }