1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-28 12:10:52 +02:00

support rel=noopener for links

This commit is contained in:
Andrew Dolgov 2017-01-24 18:45:25 +03:00
parent e934d63e0c
commit 3b001e4330

View File

@ -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')) {