disable flash disabling in sanitize_rss

This commit is contained in:
Andrew Dolgov 2006-09-28 14:50:29 +01:00
parent 5d59d6345f
commit 8511f62fb3
1 changed files with 2 additions and 2 deletions

View File

@ -2394,11 +2394,11 @@
$res = preg_replace('/<\/script.*?>/i', "</p>", $res); $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', $res = preg_replace('/<object.*?>.*?<\/object>/i',
"<p class=\"objectWarn\">(Disabled html object "<p class=\"objectWarn\">(Disabled html object
- flash or other embedded content)</p>", $res); - flash or other embedded content)</p>", $res); */
return $res; return $res;
} }