ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Proprietary.php
Go to the documentation of this file.
1 <?php
2 
4 {
5 
9  public $name = 'Tidy_Proprietary';
10 
14  public $defaultLevel = 'light';
15 
19  public function makeFixes()
20  {
21  $r = array();
22  $r['table@background'] = new HTMLPurifier_AttrTransform_Background();
23  $r['td@background'] = new HTMLPurifier_AttrTransform_Background();
24  $r['th@background'] = new HTMLPurifier_AttrTransform_Background();
25  $r['tr@background'] = new HTMLPurifier_AttrTransform_Background();
26  $r['thead@background'] = new HTMLPurifier_AttrTransform_Background();
27  $r['tfoot@background'] = new HTMLPurifier_AttrTransform_Background();
28  $r['tbody@background'] = new HTMLPurifier_AttrTransform_Background();
29  $r['table@height'] = new HTMLPurifier_AttrTransform_Length('height');
30  return $r;
31  }
32 }
33 
34 // vim: et sw=4 sts=4
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML...
Definition: Tidy.php:8
$r
Definition: example_031.php:79
Pre-transform that changes proprietary background attribute to CSS.
Definition: Background.php:6
Class for handling width/height length attribute transformations to CSS.
Definition: Length.php:6