diff options
author | Andrew Dolgov <[email protected]> | 2007-05-30 05:42:33 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-30 05:42:33 +0100 |
commit | c41890b059f3dfce381be96d483674c70cf15b65 (patch) | |
tree | d474e8764ef0fcebea32355fff1792c440f266b2 /functions.php | |
parent | bea6450c2abbdfe51f3a68a1f889863dd0884e86 (diff) |
fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
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>"; |