diff options
author | Andrew Dolgov <[email protected]> | 2017-01-24 18:45:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-01-24 18:45:25 +0300 |
commit | 3b001e4330226722c5bc0b6ed7f7dfe95f842eae (patch) | |
tree | 8ca6768881e2aa131cc019ab2a7e09a69397d599 /include/functions2.php | |
parent | e934d63e0c226d1925e3be5de9e29dc2fb14618c (diff) |
support rel=noopener for links
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 2 |
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')) { |