mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 20:01:30 +00:00
fix option OPEN_LINKS_IN_NEW_WINDOW (closes #130)
This commit is contained in:
@@ -3594,12 +3594,12 @@
|
|||||||
print "<div id=\"allEntryTags\">".__('Tags:')." $f_tags_str</div>";
|
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')) {
|
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) {
|
||||||
$line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]);
|
$line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$line["content"] = sanitize_rss($link, $line["content"]);
|
|
||||||
|
|
||||||
print $line["content"] . "</div>";
|
print $line["content"] . "</div>";
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|||||||
Reference in New Issue
Block a user