Add docs and facilities for having separate directories of schemas.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / Tidy / Proprietary.php
blob85fa90a942d89a5b1c5240c508d07e4980ce4951
1 <?php
3 class HTMLPurifier_HTMLModule_Tidy_Proprietary extends HTMLPurifier_HTMLModule_Tidy
6 public $name = 'Tidy_Proprietary';
7 public $defaultLevel = 'light';
9 public function makeFixes() {
10 $r = array();
11 $r['table@background'] = new HTMLPurifier_AttrTransform_Background();
12 $r['td@background'] = new HTMLPurifier_AttrTransform_Background();
13 $r['th@background'] = new HTMLPurifier_AttrTransform_Background();
14 $r['tr@background'] = new HTMLPurifier_AttrTransform_Background();
15 $r['thead@background'] = new HTMLPurifier_AttrTransform_Background();
16 $r['tfoot@background'] = new HTMLPurifier_AttrTransform_Background();
17 $r['tbody@background'] = new HTMLPurifier_AttrTransform_Background();
18 return $r;
23 // vim: et sw=4 sts=4