diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-18 20:07:46 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-18 20:07:46 +0100 |
commit | adf17b677edeb2387671f6a0f12123e7497b5938 (patch) | |
tree | 8fd87d7bf5699488ffc12afa991011e80ac1011b /inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php | |
parent | 894cd087f41d605f2f093aaad1300825f705e009 (diff) | |
download | wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.gz wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.tar.zst wallabag-adf17b677edeb2387671f6a0f12123e7497b5938.zip |
remove 3rd libraries
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php')
-rw-r--r-- | inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php deleted file mode 100644 index ba3260e6..00000000 --- a/inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/Strict.php +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | class HTMLPurifier_HTMLModule_Tidy_Strict extends HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4 | ||
4 | { | ||
5 | /** | ||
6 | * @type string | ||
7 | */ | ||
8 | public $name = 'Tidy_Strict'; | ||
9 | |||
10 | /** | ||
11 | * @type string | ||
12 | */ | ||
13 | public $defaultLevel = 'light'; | ||
14 | |||
15 | /** | ||
16 | * @return array | ||
17 | */ | ||
18 | public function makeFixes() | ||
19 | { | ||
20 | $r = parent::makeFixes(); | ||
21 | $r['blockquote#content_model_type'] = 'strictblockquote'; | ||
22 | return $r; | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @type bool | ||
27 | */ | ||
28 | public $defines_child_def = true; | ||
29 | |||
30 | /** | ||
31 | * @param HTMLPurifier_ElementDef $def | ||
32 | * @return HTMLPurifier_ChildDef_StrictBlockquote | ||
33 | */ | ||
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 | ||