From: Andrew Dolgov Date: Tue, 24 Jan 2017 15:45:25 +0000 (+0300) Subject: support rel=noopener for links X-Git-Tag: 17.4~76 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3b001e4330226722c5bc0b6ed7f7dfe95f842eae;p=tt-rss.git support rel=noopener for links --- 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')) {