2007-05-20 02:12:01 +00:00
|
|
|
<?php
|
|
|
|
|
2008-02-10 21:34:52 +00:00
|
|
|
class HTMLPurifier_HTMLModule_Tidy_Proprietary extends HTMLPurifier_HTMLModule_Tidy
|
2007-05-20 02:12:01 +00:00
|
|
|
{
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public $name = 'Tidy_Proprietary';
|
|
|
|
public $defaultLevel = 'light';
|
2007-05-20 02:12:01 +00:00
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function makeFixes() {
|
2008-09-28 01:19:35 +00:00
|
|
|
$r = array();
|
|
|
|
$r['table@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['td@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['th@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['tr@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['thead@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['tfoot@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
$r['tbody@background'] = new HTMLPurifier_AttrTransform_Background();
|
|
|
|
return $r;
|
2007-05-20 02:12:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|