]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
iframe sandbox: allow scripts
[tt-rss.git] / include / functions.php
index ca129ab812fec2ace93072bee43a86e65547a83b..417a05c2354862405c5f7364bca0d0f00bf2ac80 100644 (file)
 
                $entries = $xpath->query('//iframe');
                foreach ($entries as $entry) {
-                       $entry->setAttribute('sandbox', true);
+                       $entry->setAttribute('sandbox', 'allow-scripts');
+
                }
 
                global $pluginhost;