]> git.wh0rd.org Git - tt-rss.git/commitdiff
support rel=noopener for links
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 24 Jan 2017 15:45:25 +0000 (18:45 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 24 Jan 2017 15:45:25 +0000 (18:45 +0300)
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')) {