4 * XHTML 1.1 Iframe Module provides inline frames.
6 * @note This module is not considered safe unless an Iframe
7 * whitelisting mechanism is specified. Currently, the only
8 * such mechanism is %URL.SafeIframeRegexp
10 class HTMLPurifier_HTMLModule_Iframe
extends HTMLPurifier_HTMLModule
16 public $name = 'Iframe';
24 * @param HTMLPurifier_Config $config
26 public function setup($config)
28 if ($config->get('HTML.SafeIframe')) {
37 'src' => 'URI#embedded',
41 'scrolling' => 'Enum#yes,no,auto',
42 'frameborder' => 'Enum#0,1',
44 'marginheight' => 'Pixels',
45 'marginwidth' => 'Pixels',