From c41890b059f3dfce381be96d483674c70cf15b65 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 May 2007 05:42:33 +0100 Subject: fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130) --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ""; -- cgit v1.2.3