first commit
This commit is contained in:
8
htmlpurifier-4.10.0/tests/HTMLPurifier/HTMLT/safe-iframe-youtube.htmlt
Executable file
8
htmlpurifier-4.10.0/tests/HTMLPurifier/HTMLT/safe-iframe-youtube.htmlt
Executable file
@ -0,0 +1,8 @@
|
||||
--INI--
|
||||
HTML.SafeIframe = true
|
||||
URI.SafeIframeRegexp = "%^http://www.youtube.com/embed/%"
|
||||
--HTML--
|
||||
<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/RVtEQxH7PWA" frameborder="0" allowfullscreen></iframe>
|
||||
--EXPECT--
|
||||
<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/RVtEQxH7PWA" frameborder="0"></iframe>
|
||||
--# vim: et sw=4 sts=4
|
Reference in New Issue
Block a user