diff --git a/functions.php b/functions.php
index 8668ab092..308ae748a 100644
--- a/functions.php
+++ b/functions.php
@@ -3594,12 +3594,12 @@
print "
".__('Tags:')." $f_tags_str
";
}
+ $line["content"] = sanitize_rss($link, $line["content"]);
+
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) {
$line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]);
}
- $line["content"] = sanitize_rss($link, $line["content"]);
-
print $line["content"] . "";
print "";