ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
TargetBlank.php
Go to the documentation of this file.
1 <?php
2 
8 {
12  public $name = 'TargetBlank';
13 
17  public function setup($config)
18  {
19  $a = $this->addBlankElement('a');
20  $a->attr_transform_post[] = new HTMLPurifier_AttrTransform_TargetBlank();
21  }
22 }
23 
24 // vim: et sw=4 sts=4
addBlankElement($element)
Convenience function that creates a totally blank, non-standalone element.
Definition: HTMLModule.php:174
Module adds the target=blank attribute transformation to a tags.
Definition: TargetBlank.php:7
Adds target="blank" to all outbound links.
Definition: TargetBlank.php:10
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition: HTMLModule.php:18