summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-16 08:13:11 +0100
committerAndrew Dolgov <[email protected]>2007-05-16 08:13:11 +0100
commit8c7b2b8e4f34d87d1489295ab5dd63b5f3bfa4e7 (patch)
tree5f4233f798cc1c98818100195ee4e1ca7a704079 /functions.php
parent007a38d4c3a8b823325bf6c5ec13f1058ef40ab3 (diff)
cleanup sanitize_rss()
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/functions.php b/functions.php
index 5e43a5677..9bd79629e 100644
--- a/functions.php
+++ b/functions.php
@@ -2608,17 +2608,6 @@
function sanitize_rss($link, $str) {
$res = $str;
-/* $res = preg_replace('/<script.*?>/i',
- "<p class=\"scriptWarn\">Disabled script: ", $res);
-
- $res = preg_replace('/<\/script.*?>/i', "</p>", $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); */
-
if (get_pref($link, "STRIP_UNSAFE_TAGS")) {
$res = strip_tags($res, "<p><a><i><em><b><strong><blockquote><br><img>");
}