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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user