mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 15:25:56 +00:00
support rel=noopener for links
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user