diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index d62f56d97..34f64cb4e 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -3386,7 +3386,7 @@ class e_parse 'img' => array('src', 'alt', 'width', 'height'), 'a' => array('href', 'target', 'rel'), 'script' => array('type', 'src', 'language', 'async'), - 'iframe' => array('src', 'frameborder', 'width', 'height'), + 'iframe' => array('src', 'frameborder', 'width', 'height', 'allowfullscreen', 'allow'), 'input' => array('type', 'name', 'value'), 'form' => array('action', 'method', 'target'), 'audio' => array('src', 'controls', 'autoplay', 'loop', 'muted', 'preload'), diff --git a/e107_tests/tests/unit/e_parseTest.php b/e107_tests/tests/unit/e_parseTest.php index 3a87fb238..d53d47d8b 100644 --- a/e107_tests/tests/unit/e_parseTest.php +++ b/e107_tests/tests/unit/e_parseTest.php @@ -1785,16 +1785,18 @@ while($row = $sql->fetch()) ), 'iframe' => array ( - 0 => 'src', - 1 => 'frameborder', - 2 => 'width', - 3 => 'height', - 4 => 'id', - 5 => 'style', - 6 => 'class', - 7 => 'title', - 8 => 'lang', - 9 => 'accesskey', + 'src', + 'frameborder', + 'width', + 'height', + 'allowfullscreen', + 'allow', + 'id', + 'style', + 'class', + 'title', + 'lang', + 'accesskey', ), 'input' => array (