Implement Iframe module, and provide %HTML.SafeIframe and %URI.SafeIframeRegexp for...
[htmlpurifier.git] / tests / HTMLPurifier / HTMLT / safe-iframe-googlemaps.htmlt
blob40fac62d566ee79022a4c7cd95566e65f72d92f6
1 --INI--
2 HTML.SafeIframe = true
3 URI.SafeIframeRegexp = "%^http://maps.google.com/%"
4 --HTML--
5 <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=24.455808,37.353516&amp;z=4&amp;output=embed"></iframe>
6 --EXPECT--
7 <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=24.455808,37.353516&amp;z=4&amp;output=embed"></iframe>
8 --# vim: et sw=4 sts=4