3 require_once 'HTMLPurifier/AttrDef/HTML/FrameTarget.php';
6 * XHTML 1.1 Target Module, defines target attribute in link elements.
8 class HTMLPurifier_HTMLModule_Target
extends HTMLPurifier_HTMLModule
12 var $elements = array('a');
14 function HTMLPurifier_HTMLModule_Target() {
15 foreach ($this->elements
as $e) {
16 $this->info
[$e] = new HTMLPurifier_ElementDef();
17 $this->info
[$e]->standalone
= false;
18 $this->info
[$e]->attr
= array(
19 'target' => new HTMLPurifier_AttrDef_HTML_FrameTarget()