summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 60399e31c..14eccf944 100644
--- a/backend.php
+++ b/backend.php
@@ -1040,6 +1040,10 @@
print "<div id=\"allEntryTags\">Tags: $f_tags_str</div>";
}
+ if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) {
+ $line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]);
+ }
+
print $line["content"] . "</div>";
print "</div>";