ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Strict.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLPurifier_HTMLModule_Tidy_Strict
extends
HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
4
{
8
public
$name
=
'Tidy_Strict'
;
9
13
public
$defaultLevel
=
'light'
;
14
18
public
function
makeFixes
()
19
{
20
$r
= parent::makeFixes();
21
$r
[
'blockquote#content_model_type'
] =
'strictblockquote'
;
22
return
$r
;
23
}
24
28
public
$defines_child_def
=
true
;
29
34
public
function
getChildDef
(
$def
)
35
{
36
if
(
$def
->content_model_type !=
'strictblockquote'
) {
37
return
parent::getChildDef(
$def
);
38
}
39
return
new
HTMLPurifier_ChildDef_StrictBlockquote
(
$def
->content_model);
40
}
41
}
42
43
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Tidy_Strict\$name
$name
string
Definition:
Strict.php:8
HTMLPurifier_ChildDef_StrictBlockquote
Takes the contents of blockquote when in strict and reformats for validation.
Definition:
StrictBlockquote.php:6
HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
Definition:
XHTMLAndHTML4.php:3
HTMLPurifier_HTMLModule_Tidy_Strict\$defaultLevel
$defaultLevel
string
Definition:
Strict.php:13
HTMLPurifier_HTMLModule_Tidy_Strict
Definition:
Strict.php:3
HTMLPurifier_HTMLModule_Tidy_Strict\$defines_child_def
$defines_child_def
bool
Definition:
Strict.php:28
$r
$r
Definition:
example_031.php:79
HTMLPurifier_HTMLModule_Tidy_Strict\getChildDef
getChildDef($def)
Definition:
Strict.php:34
$def
$def
Definition:
croninfo.php:21
HTMLPurifier_HTMLModule_Tidy_Strict\makeFixes
makeFixes()
Definition:
Strict.php:18
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
HTMLModule
Tidy
Strict.php
Generated on Sat Jan 18 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)