HTMLPurifier 4.4.0
|
00001 <?php 00002 00007 class HTMLPurifier_HTMLModule_Nofollow extends HTMLPurifier_HTMLModule 00008 { 00009 00010 public $name = 'Nofollow'; 00011 00012 public function setup($config) { 00013 $a = $this->addBlankElement('a'); 00014 $a->attr_transform_post[] = new HTMLPurifier_AttrTransform_Nofollow(); 00015 } 00016 00017 } 00018 00019 // vim: et sw=4 sts=4