From 3b001e4330226722c5bc0b6ed7f7dfe95f842eae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 24 Jan 2017 18:45:25 +0300 Subject: [PATCH] support rel=noopener for links --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions2.php b/include/functions2.php index 7a076c94..f0e352ed 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')) { -- 2.39.5