ILIAS
release_4-4 Revision
◀ 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
{
5
public
$name
=
'Tidy_Strict'
;
6
public
$defaultLevel
=
'light'
;
7
8
public
function
makeFixes
() {
9
$r
= parent::makeFixes();
10
$r
[
'blockquote#content_model_type'
] =
'strictblockquote'
;
11
return
$r
;
12
}
13
14
public
$defines_child_def
=
true
;
15
public
function
getChildDef
($def) {
16
if
($def->content_model_type !=
'strictblockquote'
)
return
parent::getChildDef($def);
17
return
new
HTMLPurifier_ChildDef_StrictBlockquote
($def->content_model);
18
}
19
}
20
21
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Tidy_Strict\$name
$name
Definition:
Strict.php:5
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
Definition:
Strict.php:6
HTMLPurifier_HTMLModule_Tidy_Strict
Definition:
Strict.php:3
HTMLPurifier_HTMLModule_Tidy_Strict\$defines_child_def
$defines_child_def
Definition:
Strict.php:14
HTMLPurifier_HTMLModule_Tidy_Strict\getChildDef
getChildDef($def)
Definition:
Strict.php:15
$r
$r
Definition:
shib_logout.php:151
HTMLPurifier_HTMLModule_Tidy_Strict\makeFixes
makeFixes()
Definition:
Strict.php:8
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Tidy
Strict.php
Generated on Mon Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)