File indexing completed on 2025-01-26 05:29:07
0001 <?php 0002 0003 class HTMLPurifier_HTMLModule_Tidy_Proprietary extends HTMLPurifier_HTMLModule_Tidy 0004 { 0005 0006 /** 0007 * @type string 0008 */ 0009 public $name = 'Tidy_Proprietary'; 0010 0011 /** 0012 * @type string 0013 */ 0014 public $defaultLevel = 'light'; 0015 0016 /** 0017 * @return array 0018 */ 0019 public function makeFixes() 0020 { 0021 $r = array(); 0022 $r['table@background'] = new HTMLPurifier_AttrTransform_Background(); 0023 $r['td@background'] = new HTMLPurifier_AttrTransform_Background(); 0024 $r['th@background'] = new HTMLPurifier_AttrTransform_Background(); 0025 $r['tr@background'] = new HTMLPurifier_AttrTransform_Background(); 0026 $r['thead@background'] = new HTMLPurifier_AttrTransform_Background(); 0027 $r['tfoot@background'] = new HTMLPurifier_AttrTransform_Background(); 0028 $r['tbody@background'] = new HTMLPurifier_AttrTransform_Background(); 0029 $r['table@height'] = new HTMLPurifier_AttrTransform_Length('height'); 0030 return $r; 0031 } 0032 } 0033 0034 // vim: et sw=4 sts=4