From c41890b059f3dfce381be96d483674c70cf15b65 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 May 2007 05:42:33 +0100 Subject: [PATCH] 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 8668ab09..308ae748 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 ""; -- 2.39.5