fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130)

This commit is contained in:
Andrew Dolgov 2007-05-30 05:42:33 +01:00
parent bea6450c2a
commit c41890b059
1 changed files with 2 additions and 2 deletions

View File

@ -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>";