fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130)
This commit is contained in:
parent
bea6450c2a
commit
c41890b059
1 changed files with 2 additions and 2 deletions
|
@ -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>";
|
||||
|
|
Loading…
Reference in a new issue