ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Proprietary.php
Go to the documentation of this file.
1
<?
php
2
3
class
HTMLPurifier_HTMLModule_Tidy_Proprietary
extends
HTMLPurifier_HTMLModule_Tidy
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
HTMLPurifier_HTMLModule_Tidy_Proprietary\makeFixes
makeFixes()
Definition:
Proprietary.php:19
HTMLPurifier_HTMLModule_Tidy
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML...
Definition:
Tidy.php:8
HTMLPurifier_HTMLModule_Tidy_Proprietary
Definition:
Proprietary.php:3
HTMLPurifier_HTMLModule_Tidy_Proprietary\$name
$name
string
Definition:
Proprietary.php:9
$r
$r
Definition:
example_031.php:79
HTMLPurifier_HTMLModule_Tidy_Proprietary\$defaultLevel
$defaultLevel
string
Definition:
Proprietary.php:14
HTMLPurifier_AttrTransform_Background
Pre-transform that changes proprietary background attribute to CSS.
Definition:
Background.php:6
HTMLPurifier_AttrTransform_Length
Class for handling width/height length attribute transformations to CSS.
Definition:
Length.php:6
php
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
HTMLModule
Tidy
Proprietary.php
Generated on Thu Jan 16 2025 19:01:39 for ILIAS by
1.8.13 (using
Doxyfile
)