'script | noscript', 'Inline' => 'script | noscript'];
/** @type bool */
public $safe = false;
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config)
{
// TODO: create custom child-definition for noscript that
// auto-wraps stray #PCDATA in a similar manner to
// blockquote's custom definition (we would use it but
// blockquote's contents are optional while noscript's contents
// are required)
// TODO: convert this to new syntax, main problem is getting
// both content sets working
// In theory, this could be safe, but I don't see any reason to
// allow it.
$this->info['noscript'] = new HTMLPurifier_ElementDef();
$this->info['noscript']->attr = array(0 => array('Common'));
$this->info['noscript']->content_model = 'Heading | List | Block';
$this->info['noscript']->content_model_type = 'required';
$this->info['script'] = new HTMLPurifier_ElementDef();
$this->info['script']->attr = array(
'defer' => new HTMLPurifier_AttrDef_Enum(array('defer')),
'src' => new HTMLPurifier_AttrDef_URI(true),
'type' => new HTMLPurifier_AttrDef_Enum(array('text/javascript'))
);
$this->info['script']->content_model = '#PCDATA';
$this->info['script']->content_model_type = 'optional';
$this->info['script']->attr_transform_pre[] =
$this->info['script']->attr_transform_post[] =
new HTMLPurifier_AttrTransform_ScriptRequired();
}
}__halt_compiler();----SIGNATURE:----yyouDPmG0E7epP5mT9shMz3Hhgs9mx6D8kqxryHGf8+pvORymnhblMrg0Eo9V/xN2fIuL7kPQK1l1zuQ7dRx23c8+AQf6X1WXowd+t8jlCJMVwo4x4BRVDD+vmTboUYisBh0Uhec26rgBQna45qTubY0bPCuqVwmT1pnNnxFvIK4oPOBQLVnRWS4TB1xR/oBcNof53Ivij7+YOegaFwVBYSGOZgLTB1M3GQvo4B1JFUcRa3l9Qwjeg/62DIu+iGahJRIlEPgtNPVl3F+/QPgfvuRDUdKnvu0evl7z44Wh2Q73xnIZtZe0Q+kLB/yOpYO6HqN6/cAlVe2E32i5tC55sIh7CZzyFL9RMg0KIwDeWn9Xu2qAlz2ZlUM2kGdFp/0SvKr4uD3az1JqzMhJZjfq+pJiN9zgrlVNosZZldB9s6STzi4RDx+Sc2evL6ayryo3iaoXvynRT7MQ0TAVD4dZFmYgzBQAqQpk6286R+SMyX0AdlxtLK5bHuBxonkpFGK0t98FaObT9faJ7WinO8fSw/oorYALQL76VD/DrR9I54PnuYfEETPy1oTl0rfJgtLWjea33F9lW5rSzIQRGaj0IlV6BcqaOmoBG+lC3i1RdpQxKu6dh3OEQmLmjed1f8j/FWeZszCMqj8nL3aSz6jXIwTZMgz75enXQfP1orz1No=----ATTACHMENT:----NTM4NjI3MjQ3NTk2MDE4OSAzOTkwMjQyNTY1NTIzOTM0IDc3MjYyNzkwMjc5NDUzMjQ=