4 * Name is deprecated, but allowed in strict doctypes, so onl
6 class HTMLPurifier_HTMLModule_Tidy_Name
extends HTMLPurifier_HTMLModule_Tidy
11 public $name = 'Tidy_Name';
16 public $defaultLevel = 'heavy';
21 public function makeFixes()
24 // @name for img, a -----------------------------------------------
25 // Technically, it's allowed even on strict, so we allow authors to use
26 // it. However, it's deprecated in future versions of XHTML.
28 $r['a@name'] = new HTMLPurifier_AttrTransform_Name();