summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-30 05:42:33 +0100
committerAndrew Dolgov <[email protected]>2007-05-30 05:42:33 +0100
commitc41890b059f3dfce381be96d483674c70cf15b65 (patch)
treed474e8764ef0fcebea32355fff1792c440f266b2
parentbea6450c2abbdfe51f3a68a1f889863dd0884e86 (diff)
fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130)
-rw-r--r--functions.php4
1 files 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 "<div id=\"allEntryTags\">".__('Tags:')." $f_tags_str</div>";
}
+ $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"] . "</div>";
print "</div>";