<?php/** * Module adds the target-based noreferrer attribute transformation to a tags. It * is enabled by HTML.TargetNoreferrer */classHTMLPurifier_HTMLModule_TargetNoreferrerextendsHTMLPurifier_HTMLModule{/** * @type string */public$name='TargetNoreferrer';/** * @param HTMLPurifier_Config $config */publicfunctionsetup($config){$a=$this->addBlankElement('a');$a->attr_transform_post[]=newHTMLPurifier_AttrTransform_TargetNoreferrer();}}