ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
Pre-transform that changes proprietary background attribute to CSS.
Definition: Background.php:7
Class for handling width/height length attribute transformations to CSS.
Definition: Length.php:7
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML.
Definition: Tidy.php:9
$r
Definition: example_031.php:79