1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 15:51:28 +00:00

blacklist option OPEN_LINKS_IN_NEW_WINDOW, default to rewrite links to open in new windows

This commit is contained in:
Andrew Dolgov
2010-11-21 21:50:11 +03:00
parent d4dcf8e922
commit c401d5c906
2 changed files with 3 additions and 4 deletions

View File

@@ -3690,9 +3690,7 @@
}
if (strtolower($entry->nodeName) == "a") {
if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW', $owner)) {
$entry->setAttribute("target", "_blank");
}
$entry->setAttribute("target", "_blank");
}
if (strtolower($entry->nodeName) == "img" && !$br_inserted) {