]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
support rel=noopener for links
[tt-rss.git] / include / functions2.php
index 7a076c94e858ae0ddcad5f327eb0d603fe978255..f0e352ed100cf47692b8dfe6c719fed16f083fbc 100644 (file)
                                        $entry->setAttribute('href',
                                                rewrite_relative_url($site_url, $entry->getAttribute('href')));
 
-                                       $entry->setAttribute('rel', 'noreferrer');
+                                       $entry->setAttribute('rel', 'noopener noreferrer');
                                }
 
                                if ($entry->hasAttribute('src')) {