summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-24 18:45:25 +0300
committerAndrew Dolgov <[email protected]>2017-01-24 18:45:25 +0300
commit3b001e4330226722c5bc0b6ed7f7dfe95f842eae (patch)
tree8ca6768881e2aa131cc019ab2a7e09a69397d599 /include
parente934d63e0c226d1925e3be5de9e29dc2fb14618c (diff)
support rel=noopener for links
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 7a076c94e..f0e352ed1 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -900,7 +900,7 @@
$entry->setAttribute('href',
rewrite_relative_url($site_url, $entry->getAttribute('href')));
- $entry->setAttribute('rel', 'noreferrer');
+ $entry->setAttribute('rel', 'noopener noreferrer');
}
if ($entry->hasAttribute('src')) {