Add vim modelines to all files.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / Tidy / Name.php
blob61ff85ce2fa66e66bf1227b35c506ceb9ca2c365
1 <?php
3 /**
4 * Name is deprecated, but allowed in strict doctypes, so onl
5 */
6 class HTMLPurifier_HTMLModule_Tidy_Name extends HTMLPurifier_HTMLModule_Tidy
8 public $name = 'Tidy_Name';
9 public $defaultLevel = 'heavy';
10 public function makeFixes() {
12 $r = array();
14 // @name for img, a -----------------------------------------------
15 // Technically, it's allowed even on strict, so we allow authors to use
16 // it. However, it's deprecated in future versions of XHTML.
17 $r['img@name'] =
18 $r['a@name'] = new HTMLPurifier_AttrTransform_Name();
20 return $r;
24 // vim: et sw=4 sts=4