aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema')
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php48
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/Xml.php144
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Exception.php11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange.php47
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Directive.php89
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Id.php58
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/InterchangeBuilder.php226
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Validator.php248
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/ValidatorAtom.php130
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema.serbin15000 -> 0 bytes
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt19
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt5
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt31
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt15
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt46
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt18
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt18
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt29
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt17
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt15
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt7
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt19
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Language.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt34
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt29
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt74
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt25
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt19
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt15
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt23
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt20
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt18
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt23
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt33
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt16
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt21
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt20
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt7
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt12
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt24
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt8
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt15
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt25
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt7
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt17
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Base.txt17
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt10
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt14
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt11
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt15
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Host.txt19
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt13
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt83
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt17
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt30
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt9
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt22
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/info.ini3
129 files changed, 0 insertions, 2815 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php
deleted file mode 100644
index 1174575e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php
+++ /dev/null
@@ -1,48 +0,0 @@
1<?php
2
3/**
4 * Converts HTMLPurifier_ConfigSchema_Interchange to our runtime
5 * representation used to perform checks on user configuration.
6 */
7class HTMLPurifier_ConfigSchema_Builder_ConfigSchema
8{
9
10 /**
11 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
12 * @return HTMLPurifier_ConfigSchema
13 */
14 public function build($interchange)
15 {
16 $schema = new HTMLPurifier_ConfigSchema();
17 foreach ($interchange->directives as $d) {
18 $schema->add(
19 $d->id->key,
20 $d->default,
21 $d->type,
22 $d->typeAllowsNull
23 );
24 if ($d->allowed !== null) {
25 $schema->addAllowedValues(
26 $d->id->key,
27 $d->allowed
28 );
29 }
30 foreach ($d->aliases as $alias) {
31 $schema->addAlias(
32 $alias->key,
33 $d->id->key
34 );
35 }
36 if ($d->valueAliases !== null) {
37 $schema->addValueAliases(
38 $d->id->key,
39 $d->valueAliases
40 );
41 }
42 }
43 $schema->postProcess();
44 return $schema;
45 }
46}
47
48// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/Xml.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/Xml.php
deleted file mode 100644
index 0d00bf1d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Builder/Xml.php
+++ /dev/null
@@ -1,144 +0,0 @@
1<?php
2
3/**
4 * Converts HTMLPurifier_ConfigSchema_Interchange to an XML format,
5 * which can be further processed to generate documentation.
6 */
7class HTMLPurifier_ConfigSchema_Builder_Xml extends XMLWriter
8{
9
10 /**
11 * @type HTMLPurifier_ConfigSchema_Interchange
12 */
13 protected $interchange;
14
15 /**
16 * @type string
17 */
18 private $namespace;
19
20 /**
21 * @param string $html
22 */
23 protected function writeHTMLDiv($html)
24 {
25 $this->startElement('div');
26
27 $purifier = HTMLPurifier::getInstance();
28 $html = $purifier->purify($html);
29 $this->writeAttribute('xmlns', 'http://www.w3.org/1999/xhtml');
30 $this->writeRaw($html);
31
32 $this->endElement(); // div
33 }
34
35 /**
36 * @param mixed $var
37 * @return string
38 */
39 protected function export($var)
40 {
41 if ($var === array()) {
42 return 'array()';
43 }
44 return var_export($var, true);
45 }
46
47 /**
48 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
49 */
50 public function build($interchange)
51 {
52 // global access, only use as last resort
53 $this->interchange = $interchange;
54
55 $this->setIndent(true);
56 $this->startDocument('1.0', 'UTF-8');
57 $this->startElement('configdoc');
58 $this->writeElement('title', $interchange->name);
59
60 foreach ($interchange->directives as $directive) {
61 $this->buildDirective($directive);
62 }
63
64 if ($this->namespace) {
65 $this->endElement();
66 } // namespace
67
68 $this->endElement(); // configdoc
69 $this->flush();
70 }
71
72 /**
73 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $directive
74 */
75 public function buildDirective($directive)
76 {
77 // Kludge, although I suppose having a notion of a "root namespace"
78 // certainly makes things look nicer when documentation is built.
79 // Depends on things being sorted.
80 if (!$this->namespace || $this->namespace !== $directive->id->getRootNamespace()) {
81 if ($this->namespace) {
82 $this->endElement();
83 } // namespace
84 $this->namespace = $directive->id->getRootNamespace();
85 $this->startElement('namespace');
86 $this->writeAttribute('id', $this->namespace);
87 $this->writeElement('name', $this->namespace);
88 }
89
90 $this->startElement('directive');
91 $this->writeAttribute('id', $directive->id->toString());
92
93 $this->writeElement('name', $directive->id->getDirective());
94
95 $this->startElement('aliases');
96 foreach ($directive->aliases as $alias) {
97 $this->writeElement('alias', $alias->toString());
98 }
99 $this->endElement(); // aliases
100
101 $this->startElement('constraints');
102 if ($directive->version) {
103 $this->writeElement('version', $directive->version);
104 }
105 $this->startElement('type');
106 if ($directive->typeAllowsNull) {
107 $this->writeAttribute('allow-null', 'yes');
108 }
109 $this->text($directive->type);
110 $this->endElement(); // type
111 if ($directive->allowed) {
112 $this->startElement('allowed');
113 foreach ($directive->allowed as $value => $x) {
114 $this->writeElement('value', $value);
115 }
116 $this->endElement(); // allowed
117 }
118 $this->writeElement('default', $this->export($directive->default));
119 $this->writeAttribute('xml:space', 'preserve');
120 if ($directive->external) {
121 $this->startElement('external');
122 foreach ($directive->external as $project) {
123 $this->writeElement('project', $project);
124 }
125 $this->endElement();
126 }
127 $this->endElement(); // constraints
128
129 if ($directive->deprecatedVersion) {
130 $this->startElement('deprecated');
131 $this->writeElement('version', $directive->deprecatedVersion);
132 $this->writeElement('use', $directive->deprecatedUse->toString());
133 $this->endElement(); // deprecated
134 }
135
136 $this->startElement('description');
137 $this->writeHTMLDiv($directive->description);
138 $this->endElement(); // description
139
140 $this->endElement(); // directive
141 }
142}
143
144// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Exception.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Exception.php
deleted file mode 100644
index 1abdcfc0..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Exception.php
+++ /dev/null
@@ -1,11 +0,0 @@
1<?php
2
3/**
4 * Exceptions related to configuration schema
5 */
6class HTMLPurifier_ConfigSchema_Exception extends HTMLPurifier_Exception
7{
8
9}
10
11// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange.php
deleted file mode 100644
index c094fa0b..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange.php
+++ /dev/null
@@ -1,47 +0,0 @@
1<?php
2
3/**
4 * Generic schema interchange format that can be converted to a runtime
5 * representation (HTMLPurifier_ConfigSchema) or HTML documentation. Members
6 * are completely validated.
7 */
8class HTMLPurifier_ConfigSchema_Interchange
9{
10
11 /**
12 * Name of the application this schema is describing.
13 * @type string
14 */
15 public $name;
16
17 /**
18 * Array of Directive ID => array(directive info)
19 * @type HTMLPurifier_ConfigSchema_Interchange_Directive[]
20 */
21 public $directives = array();
22
23 /**
24 * Adds a directive array to $directives
25 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $directive
26 * @throws HTMLPurifier_ConfigSchema_Exception
27 */
28 public function addDirective($directive)
29 {
30 if (isset($this->directives[$i = $directive->id->toString()])) {
31 throw new HTMLPurifier_ConfigSchema_Exception("Cannot redefine directive '$i'");
32 }
33 $this->directives[$i] = $directive;
34 }
35
36 /**
37 * Convenience function to perform standard validation. Throws exception
38 * on failed validation.
39 */
40 public function validate()
41 {
42 $validator = new HTMLPurifier_ConfigSchema_Validator();
43 return $validator->validate($this);
44 }
45}
46
47// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Directive.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Directive.php
deleted file mode 100644
index 4c39c5c6..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Directive.php
+++ /dev/null
@@ -1,89 +0,0 @@
1<?php
2
3/**
4 * Interchange component class describing configuration directives.
5 */
6class HTMLPurifier_ConfigSchema_Interchange_Directive
7{
8
9 /**
10 * ID of directive.
11 * @type HTMLPurifier_ConfigSchema_Interchange_Id
12 */
13 public $id;
14
15 /**
16 * Type, e.g. 'integer' or 'istring'.
17 * @type string
18 */
19 public $type;
20
21 /**
22 * Default value, e.g. 3 or 'DefaultVal'.
23 * @type mixed
24 */
25 public $default;
26
27 /**
28 * HTML description.
29 * @type string
30 */
31 public $description;
32
33 /**
34 * Whether or not null is allowed as a value.
35 * @type bool
36 */
37 public $typeAllowsNull = false;
38
39 /**
40 * Lookup table of allowed scalar values.
41 * e.g. array('allowed' => true).
42 * Null if all values are allowed.
43 * @type array
44 */
45 public $allowed;
46
47 /**
48 * List of aliases for the directive.
49 * e.g. array(new HTMLPurifier_ConfigSchema_Interchange_Id('Ns', 'Dir'))).
50 * @type HTMLPurifier_ConfigSchema_Interchange_Id[]
51 */
52 public $aliases = array();
53
54 /**
55 * Hash of value aliases, e.g. array('alt' => 'real'). Null if value
56 * aliasing is disabled (necessary for non-scalar types).
57 * @type array
58 */
59 public $valueAliases;
60
61 /**
62 * Version of HTML Purifier the directive was introduced, e.g. '1.3.1'.
63 * Null if the directive has always existed.
64 * @type string
65 */
66 public $version;
67
68 /**
69 * ID of directive that supercedes this old directive.
70 * Null if not deprecated.
71 * @type HTMLPurifier_ConfigSchema_Interchange_Id
72 */
73 public $deprecatedUse;
74
75 /**
76 * Version of HTML Purifier this directive was deprecated. Null if not
77 * deprecated.
78 * @type string
79 */
80 public $deprecatedVersion;
81
82 /**
83 * List of external projects this directive depends on, e.g. array('CSSTidy').
84 * @type array
85 */
86 public $external = array();
87}
88
89// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Id.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Id.php
deleted file mode 100644
index 3ee81711..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Interchange/Id.php
+++ /dev/null
@@ -1,58 +0,0 @@
1<?php
2
3/**
4 * Represents a directive ID in the interchange format.
5 */
6class HTMLPurifier_ConfigSchema_Interchange_Id
7{
8
9 /**
10 * @type string
11 */
12 public $key;
13
14 /**
15 * @param string $key
16 */
17 public function __construct($key)
18 {
19 $this->key = $key;
20 }
21
22 /**
23 * @return string
24 * @warning This is NOT magic, to ensure that people don't abuse SPL and
25 * cause problems for PHP 5.0 support.
26 */
27 public function toString()
28 {
29 return $this->key;
30 }
31
32 /**
33 * @return string
34 */
35 public function getRootNamespace()
36 {
37 return substr($this->key, 0, strpos($this->key, "."));
38 }
39
40 /**
41 * @return string
42 */
43 public function getDirective()
44 {
45 return substr($this->key, strpos($this->key, ".") + 1);
46 }
47
48 /**
49 * @param string $id
50 * @return HTMLPurifier_ConfigSchema_Interchange_Id
51 */
52 public static function make($id)
53 {
54 return new HTMLPurifier_ConfigSchema_Interchange_Id($id);
55 }
56}
57
58// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/InterchangeBuilder.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/InterchangeBuilder.php
deleted file mode 100644
index fe9b3268..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/InterchangeBuilder.php
+++ /dev/null
@@ -1,226 +0,0 @@
1<?php
2
3class HTMLPurifier_ConfigSchema_InterchangeBuilder
4{
5
6 /**
7 * Used for processing DEFAULT, nothing else.
8 * @type HTMLPurifier_VarParser
9 */
10 protected $varParser;
11
12 /**
13 * @param HTMLPurifier_VarParser $varParser
14 */
15 public function __construct($varParser = null)
16 {
17 $this->varParser = $varParser ? $varParser : new HTMLPurifier_VarParser_Native();
18 }
19
20 /**
21 * @param string $dir
22 * @return HTMLPurifier_ConfigSchema_Interchange
23 */
24 public static function buildFromDirectory($dir = null)
25 {
26 $builder = new HTMLPurifier_ConfigSchema_InterchangeBuilder();
27 $interchange = new HTMLPurifier_ConfigSchema_Interchange();
28 return $builder->buildDir($interchange, $dir);
29 }
30
31 /**
32 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
33 * @param string $dir
34 * @return HTMLPurifier_ConfigSchema_Interchange
35 */
36 public function buildDir($interchange, $dir = null)
37 {
38 if (!$dir) {
39 $dir = HTMLPURIFIER_PREFIX . '/HTMLPurifier/ConfigSchema/schema';
40 }
41 if (file_exists($dir . '/info.ini')) {
42 $info = parse_ini_file($dir . '/info.ini');
43 $interchange->name = $info['name'];
44 }
45
46 $files = array();
47 $dh = opendir($dir);
48 while (false !== ($file = readdir($dh))) {
49 if (!$file || $file[0] == '.' || strrchr($file, '.') !== '.txt') {
50 continue;
51 }
52 $files[] = $file;
53 }
54 closedir($dh);
55
56 sort($files);
57 foreach ($files as $file) {
58 $this->buildFile($interchange, $dir . '/' . $file);
59 }
60 return $interchange;
61 }
62
63 /**
64 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
65 * @param string $file
66 */
67 public function buildFile($interchange, $file)
68 {
69 $parser = new HTMLPurifier_StringHashParser();
70 $this->build(
71 $interchange,
72 new HTMLPurifier_StringHash($parser->parseFile($file))
73 );
74 }
75
76 /**
77 * Builds an interchange object based on a hash.
78 * @param HTMLPurifier_ConfigSchema_Interchange $interchange HTMLPurifier_ConfigSchema_Interchange object to build
79 * @param HTMLPurifier_StringHash $hash source data
80 * @throws HTMLPurifier_ConfigSchema_Exception
81 */
82 public function build($interchange, $hash)
83 {
84 if (!$hash instanceof HTMLPurifier_StringHash) {
85 $hash = new HTMLPurifier_StringHash($hash);
86 }
87 if (!isset($hash['ID'])) {
88 throw new HTMLPurifier_ConfigSchema_Exception('Hash does not have any ID');
89 }
90 if (strpos($hash['ID'], '.') === false) {
91 if (count($hash) == 2 && isset($hash['DESCRIPTION'])) {
92 $hash->offsetGet('DESCRIPTION'); // prevent complaining
93 } else {
94 throw new HTMLPurifier_ConfigSchema_Exception('All directives must have a namespace');
95 }
96 } else {
97 $this->buildDirective($interchange, $hash);
98 }
99 $this->_findUnused($hash);
100 }
101
102 /**
103 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
104 * @param HTMLPurifier_StringHash $hash
105 * @throws HTMLPurifier_ConfigSchema_Exception
106 */
107 public function buildDirective($interchange, $hash)
108 {
109 $directive = new HTMLPurifier_ConfigSchema_Interchange_Directive();
110
111 // These are required elements:
112 $directive->id = $this->id($hash->offsetGet('ID'));
113 $id = $directive->id->toString(); // convenience
114
115 if (isset($hash['TYPE'])) {
116 $type = explode('/', $hash->offsetGet('TYPE'));
117 if (isset($type[1])) {
118 $directive->typeAllowsNull = true;
119 }
120 $directive->type = $type[0];
121 } else {
122 throw new HTMLPurifier_ConfigSchema_Exception("TYPE in directive hash '$id' not defined");
123 }
124
125 if (isset($hash['DEFAULT'])) {
126 try {
127 $directive->default = $this->varParser->parse(
128 $hash->offsetGet('DEFAULT'),
129 $directive->type,
130 $directive->typeAllowsNull
131 );
132 } catch (HTMLPurifier_VarParserException $e) {
133 throw new HTMLPurifier_ConfigSchema_Exception($e->getMessage() . " in DEFAULT in directive hash '$id'");
134 }
135 }
136
137 if (isset($hash['DESCRIPTION'])) {
138 $directive->description = $hash->offsetGet('DESCRIPTION');
139 }
140
141 if (isset($hash['ALLOWED'])) {
142 $directive->allowed = $this->lookup($this->evalArray($hash->offsetGet('ALLOWED')));
143 }
144
145 if (isset($hash['VALUE-ALIASES'])) {
146 $directive->valueAliases = $this->evalArray($hash->offsetGet('VALUE-ALIASES'));
147 }
148
149 if (isset($hash['ALIASES'])) {
150 $raw_aliases = trim($hash->offsetGet('ALIASES'));
151 $aliases = preg_split('/\s*,\s*/', $raw_aliases);
152 foreach ($aliases as $alias) {
153 $directive->aliases[] = $this->id($alias);
154 }
155 }
156
157 if (isset($hash['VERSION'])) {
158 $directive->version = $hash->offsetGet('VERSION');
159 }
160
161 if (isset($hash['DEPRECATED-USE'])) {
162 $directive->deprecatedUse = $this->id($hash->offsetGet('DEPRECATED-USE'));
163 }
164
165 if (isset($hash['DEPRECATED-VERSION'])) {
166 $directive->deprecatedVersion = $hash->offsetGet('DEPRECATED-VERSION');
167 }
168
169 if (isset($hash['EXTERNAL'])) {
170 $directive->external = preg_split('/\s*,\s*/', trim($hash->offsetGet('EXTERNAL')));
171 }
172
173 $interchange->addDirective($directive);
174 }
175
176 /**
177 * Evaluates an array PHP code string without array() wrapper
178 * @param string $contents
179 */
180 protected function evalArray($contents)
181 {
182 return eval('return array(' . $contents . ');');
183 }
184
185 /**
186 * Converts an array list into a lookup array.
187 * @param array $array
188 * @return array
189 */
190 protected function lookup($array)
191 {
192 $ret = array();
193 foreach ($array as $val) {
194 $ret[$val] = true;
195 }
196 return $ret;
197 }
198
199 /**
200 * Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id
201 * object based on a string Id.
202 * @param string $id
203 * @return HTMLPurifier_ConfigSchema_Interchange_Id
204 */
205 protected function id($id)
206 {
207 return HTMLPurifier_ConfigSchema_Interchange_Id::make($id);
208 }
209
210 /**
211 * Triggers errors for any unused keys passed in the hash; such keys
212 * may indicate typos, missing values, etc.
213 * @param HTMLPurifier_StringHash $hash Hash to check.
214 */
215 protected function _findUnused($hash)
216 {
217 $accessed = $hash->getAccessed();
218 foreach ($hash as $k => $v) {
219 if (!isset($accessed[$k])) {
220 trigger_error("String hash key '$k' not used by builder", E_USER_NOTICE);
221 }
222 }
223 }
224}
225
226// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Validator.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Validator.php
deleted file mode 100644
index 9f14444f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/Validator.php
+++ /dev/null
@@ -1,248 +0,0 @@
1<?php
2
3/**
4 * Performs validations on HTMLPurifier_ConfigSchema_Interchange
5 *
6 * @note If you see '// handled by InterchangeBuilder', that means a
7 * design decision in that class would prevent this validation from
8 * ever being necessary. We have them anyway, however, for
9 * redundancy.
10 */
11class HTMLPurifier_ConfigSchema_Validator
12{
13
14 /**
15 * @type HTMLPurifier_ConfigSchema_Interchange
16 */
17 protected $interchange;
18
19 /**
20 * @type array
21 */
22 protected $aliases;
23
24 /**
25 * Context-stack to provide easy to read error messages.
26 * @type array
27 */
28 protected $context = array();
29
30 /**
31 * to test default's type.
32 * @type HTMLPurifier_VarParser
33 */
34 protected $parser;
35
36 public function __construct()
37 {
38 $this->parser = new HTMLPurifier_VarParser();
39 }
40
41 /**
42 * Validates a fully-formed interchange object.
43 * @param HTMLPurifier_ConfigSchema_Interchange $interchange
44 * @return bool
45 */
46 public function validate($interchange)
47 {
48 $this->interchange = $interchange;
49 $this->aliases = array();
50 // PHP is a bit lax with integer <=> string conversions in
51 // arrays, so we don't use the identical !== comparison
52 foreach ($interchange->directives as $i => $directive) {
53 $id = $directive->id->toString();
54 if ($i != $id) {
55 $this->error(false, "Integrity violation: key '$i' does not match internal id '$id'");
56 }
57 $this->validateDirective($directive);
58 }
59 return true;
60 }
61
62 /**
63 * Validates a HTMLPurifier_ConfigSchema_Interchange_Id object.
64 * @param HTMLPurifier_ConfigSchema_Interchange_Id $id
65 */
66 public function validateId($id)
67 {
68 $id_string = $id->toString();
69 $this->context[] = "id '$id_string'";
70 if (!$id instanceof HTMLPurifier_ConfigSchema_Interchange_Id) {
71 // handled by InterchangeBuilder
72 $this->error(false, 'is not an instance of HTMLPurifier_ConfigSchema_Interchange_Id');
73 }
74 // keys are now unconstrained (we might want to narrow down to A-Za-z0-9.)
75 // we probably should check that it has at least one namespace
76 $this->with($id, 'key')
77 ->assertNotEmpty()
78 ->assertIsString(); // implicit assertIsString handled by InterchangeBuilder
79 array_pop($this->context);
80 }
81
82 /**
83 * Validates a HTMLPurifier_ConfigSchema_Interchange_Directive object.
84 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $d
85 */
86 public function validateDirective($d)
87 {
88 $id = $d->id->toString();
89 $this->context[] = "directive '$id'";
90 $this->validateId($d->id);
91
92 $this->with($d, 'description')
93 ->assertNotEmpty();
94
95 // BEGIN - handled by InterchangeBuilder
96 $this->with($d, 'type')
97 ->assertNotEmpty();
98 $this->with($d, 'typeAllowsNull')
99 ->assertIsBool();
100 try {
101 // This also tests validity of $d->type
102 $this->parser->parse($d->default, $d->type, $d->typeAllowsNull);
103 } catch (HTMLPurifier_VarParserException $e) {
104 $this->error('default', 'had error: ' . $e->getMessage());
105 }
106 // END - handled by InterchangeBuilder
107
108 if (!is_null($d->allowed) || !empty($d->valueAliases)) {
109 // allowed and valueAliases require that we be dealing with
110 // strings, so check for that early.
111 $d_int = HTMLPurifier_VarParser::$types[$d->type];
112 if (!isset(HTMLPurifier_VarParser::$stringTypes[$d_int])) {
113 $this->error('type', 'must be a string type when used with allowed or value aliases');
114 }
115 }
116
117 $this->validateDirectiveAllowed($d);
118 $this->validateDirectiveValueAliases($d);
119 $this->validateDirectiveAliases($d);
120
121 array_pop($this->context);
122 }
123
124 /**
125 * Extra validation if $allowed member variable of
126 * HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
127 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $d
128 */
129 public function validateDirectiveAllowed($d)
130 {
131 if (is_null($d->allowed)) {
132 return;
133 }
134 $this->with($d, 'allowed')
135 ->assertNotEmpty()
136 ->assertIsLookup(); // handled by InterchangeBuilder
137 if (is_string($d->default) && !isset($d->allowed[$d->default])) {
138 $this->error('default', 'must be an allowed value');
139 }
140 $this->context[] = 'allowed';
141 foreach ($d->allowed as $val => $x) {
142 if (!is_string($val)) {
143 $this->error("value $val", 'must be a string');
144 }
145 }
146 array_pop($this->context);
147 }
148
149 /**
150 * Extra validation if $valueAliases member variable of
151 * HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
152 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $d
153 */
154 public function validateDirectiveValueAliases($d)
155 {
156 if (is_null($d->valueAliases)) {
157 return;
158 }
159 $this->with($d, 'valueAliases')
160 ->assertIsArray(); // handled by InterchangeBuilder
161 $this->context[] = 'valueAliases';
162 foreach ($d->valueAliases as $alias => $real) {
163 if (!is_string($alias)) {
164 $this->error("alias $alias", 'must be a string');
165 }
166 if (!is_string($real)) {
167 $this->error("alias target $real from alias '$alias'", 'must be a string');
168 }
169 if ($alias === $real) {
170 $this->error("alias '$alias'", "must not be an alias to itself");
171 }
172 }
173 if (!is_null($d->allowed)) {
174 foreach ($d->valueAliases as $alias => $real) {
175 if (isset($d->allowed[$alias])) {
176 $this->error("alias '$alias'", 'must not be an allowed value');
177 } elseif (!isset($d->allowed[$real])) {
178 $this->error("alias '$alias'", 'must be an alias to an allowed value');
179 }
180 }
181 }
182 array_pop($this->context);
183 }
184
185 /**
186 * Extra validation if $aliases member variable of
187 * HTMLPurifier_ConfigSchema_Interchange_Directive is defined.
188 * @param HTMLPurifier_ConfigSchema_Interchange_Directive $d
189 */
190 public function validateDirectiveAliases($d)
191 {
192 $this->with($d, 'aliases')
193 ->assertIsArray(); // handled by InterchangeBuilder
194 $this->context[] = 'aliases';
195 foreach ($d->aliases as $alias) {
196 $this->validateId($alias);
197 $s = $alias->toString();
198 if (isset($this->interchange->directives[$s])) {
199 $this->error("alias '$s'", 'collides with another directive');
200 }
201 if (isset($this->aliases[$s])) {
202 $other_directive = $this->aliases[$s];
203 $this->error("alias '$s'", "collides with alias for directive '$other_directive'");
204 }
205 $this->aliases[$s] = $d->id->toString();
206 }
207 array_pop($this->context);
208 }
209
210 // protected helper functions
211
212 /**
213 * Convenience function for generating HTMLPurifier_ConfigSchema_ValidatorAtom
214 * for validating simple member variables of objects.
215 * @param $obj
216 * @param $member
217 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
218 */
219 protected function with($obj, $member)
220 {
221 return new HTMLPurifier_ConfigSchema_ValidatorAtom($this->getFormattedContext(), $obj, $member);
222 }
223
224 /**
225 * Emits an error, providing helpful context.
226 * @throws HTMLPurifier_ConfigSchema_Exception
227 */
228 protected function error($target, $msg)
229 {
230 if ($target !== false) {
231 $prefix = ucfirst($target) . ' in ' . $this->getFormattedContext();
232 } else {
233 $prefix = ucfirst($this->getFormattedContext());
234 }
235 throw new HTMLPurifier_ConfigSchema_Exception(trim($prefix . ' ' . $msg));
236 }
237
238 /**
239 * Returns a formatted context string.
240 * @return string
241 */
242 protected function getFormattedContext()
243 {
244 return implode(' in ', array_reverse($this->context));
245 }
246}
247
248// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/ValidatorAtom.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/ValidatorAtom.php
deleted file mode 100644
index a2e0b4a1..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/ValidatorAtom.php
+++ /dev/null
@@ -1,130 +0,0 @@
1<?php
2
3/**
4 * Fluent interface for validating the contents of member variables.
5 * This should be immutable. See HTMLPurifier_ConfigSchema_Validator for
6 * use-cases. We name this an 'atom' because it's ONLY for validations that
7 * are independent and usually scalar.
8 */
9class HTMLPurifier_ConfigSchema_ValidatorAtom
10{
11 /**
12 * @type string
13 */
14 protected $context;
15
16 /**
17 * @type object
18 */
19 protected $obj;
20
21 /**
22 * @type string
23 */
24 protected $member;
25
26 /**
27 * @type mixed
28 */
29 protected $contents;
30
31 public function __construct($context, $obj, $member)
32 {
33 $this->context = $context;
34 $this->obj = $obj;
35 $this->member = $member;
36 $this->contents =& $obj->$member;
37 }
38
39 /**
40 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
41 */
42 public function assertIsString()
43 {
44 if (!is_string($this->contents)) {
45 $this->error('must be a string');
46 }
47 return $this;
48 }
49
50 /**
51 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
52 */
53 public function assertIsBool()
54 {
55 if (!is_bool($this->contents)) {
56 $this->error('must be a boolean');
57 }
58 return $this;
59 }
60
61 /**
62 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
63 */
64 public function assertIsArray()
65 {
66 if (!is_array($this->contents)) {
67 $this->error('must be an array');
68 }
69 return $this;
70 }
71
72 /**
73 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
74 */
75 public function assertNotNull()
76 {
77 if ($this->contents === null) {
78 $this->error('must not be null');
79 }
80 return $this;
81 }
82
83 /**
84 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
85 */
86 public function assertAlnum()
87 {
88 $this->assertIsString();
89 if (!ctype_alnum($this->contents)) {
90 $this->error('must be alphanumeric');
91 }
92 return $this;
93 }
94
95 /**
96 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
97 */
98 public function assertNotEmpty()
99 {
100 if (empty($this->contents)) {
101 $this->error('must not be empty');
102 }
103 return $this;
104 }
105
106 /**
107 * @return HTMLPurifier_ConfigSchema_ValidatorAtom
108 */
109 public function assertIsLookup()
110 {
111 $this->assertIsArray();
112 foreach ($this->contents as $v) {
113 if ($v !== true) {
114 $this->error('must be a lookup array');
115 }
116 }
117 return $this;
118 }
119
120 /**
121 * @param string $msg
122 * @throws HTMLPurifier_ConfigSchema_Exception
123 */
124 protected function error($msg)
125 {
126 throw new HTMLPurifier_ConfigSchema_Exception(ucfirst($this->member) . ' in ' . $this->context . ' ' . $msg);
127 }
128}
129
130// vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema.ser b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema.ser
deleted file mode 100644
index 22ea3218..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema.ser
+++ /dev/null
Binary files differ
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt
deleted file mode 100644
index 4a42382e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1Attr.AllowedClasses
2TYPE: lookup/null
3VERSION: 4.0.0
4DEFAULT: null
5--DESCRIPTION--
6List of allowed class values in the class attribute. By default, this is null,
7which means all classes are allowed.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt
deleted file mode 100644
index b033eb51..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Attr.AllowedFrameTargets
2TYPE: lookup
3DEFAULT: array()
4--DESCRIPTION--
5Lookup table of all allowed link frame targets. Some commonly used link
6targets include _blank, _self, _parent and _top. Values should be
7lowercase, as validation will be done in a case-sensitive manner despite
8W3C's recommendation. XHTML 1.0 Strict does not permit the target attribute
9so this directive will have no effect in that doctype. XHTML 1.1 does not
10enable the Target module by default, you will have to manually enable it
11(see the module documentation for more details.)
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt
deleted file mode 100644
index ed72a9d5..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1Attr.AllowedRel
2TYPE: lookup
3VERSION: 1.6.0
4DEFAULT: array()
5--DESCRIPTION--
6List of allowed forward document relationships in the rel attribute. Common
7values may be nofollow or print. By default, this is empty, meaning that no
8document relationships are allowed.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt
deleted file mode 100644
index 1ae672d0..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1Attr.AllowedRev
2TYPE: lookup
3VERSION: 1.6.0
4DEFAULT: array()
5--DESCRIPTION--
6List of allowed reverse document relationships in the rev attribute. This
7attribute is a bit of an edge-case; if you don't know what it is for, stay
8away.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt
deleted file mode 100644
index 119a9d2c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt
+++ /dev/null
@@ -1,19 +0,0 @@
1Attr.ClassUseCDATA
2TYPE: bool/null
3DEFAULT: null
4VERSION: 4.0.0
5--DESCRIPTION--
6If null, class will auto-detect the doctype and, if matching XHTML 1.1 or
7XHTML 2.0, will use the restrictive NMTOKENS specification of class. Otherwise,
8it will use a relaxed CDATA definition. If true, the relaxed CDATA definition
9is forced; if false, the NMTOKENS definition is forced. To get behavior
10of HTML Purifier prior to 4.0.0, set this directive to false.
11
12Some rational behind the auto-detection:
13in previous versions of HTML Purifier, it was assumed that the form of
14class was NMTOKENS, as specified by the XHTML Modularization (representing
15XHTML 1.1 and XHTML 2.0). The DTDs for HTML 4.01 and XHTML 1.0, however
16specify class as CDATA. HTML 5 effectively defines it as CDATA, but
17with the additional constraint that each name should be unique (this is not
18explicitly outlined in previous specifications).
19--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt
deleted file mode 100644
index 80b1431c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Attr.DefaultImageAlt
2TYPE: string/null
3DEFAULT: null
4VERSION: 3.2.0
5--DESCRIPTION--
6This is the content of the alt tag of an image if the user had not
7previously specified an alt attribute. This applies to all images without
8a valid alt attribute, as opposed to %Attr.DefaultInvalidImageAlt, which
9only applies to invalid images, and overrides in the case of an invalid image.
10Default behavior with null is to use the basename of the src tag for the alt.
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt
deleted file mode 100644
index c51000d1..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1Attr.DefaultInvalidImage
2TYPE: string
3DEFAULT: ''
4--DESCRIPTION--
5This is the default image an img tag will be pointed to if it does not have
6a valid src attribute. In future versions, we may allow the image tag to
7be removed completely, but due to design issues, this is not possible right
8now.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt
deleted file mode 100644
index c1ec4b03..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1Attr.DefaultInvalidImageAlt
2TYPE: string
3DEFAULT: 'Invalid image'
4--DESCRIPTION--
5This is the content of the alt tag of an invalid image if the user had not
6previously specified an alt attribute. It has no effect when the image is
7valid but there was no alt attribute present.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt
deleted file mode 100644
index f57dcc40..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1Attr.DefaultTextDir
2TYPE: string
3DEFAULT: 'ltr'
4--DESCRIPTION--
5Defines the default text direction (ltr or rtl) of the document being
6parsed. This generally is the same as the value of the dir attribute in
7HTML, or ltr if that is not specified.
8--ALLOWED--
9'ltr', 'rtl'
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt
deleted file mode 100644
index 9b93a557..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1Attr.EnableID
2TYPE: bool
3DEFAULT: false
4VERSION: 1.2.0
5--DESCRIPTION--
6Allows the ID attribute in HTML. This is disabled by default due to the
7fact that without proper configuration user input can easily break the
8validation of a webpage by specifying an ID that is already on the
9surrounding HTML. If you don't mind throwing caution to the wind, enable
10this directive, but I strongly recommend you also consider blacklisting IDs
11you use (%Attr.IDBlacklist) or prefixing all user supplied IDs
12(%Attr.IDPrefix). When set to true HTML Purifier reverts to the behavior of
13pre-1.2.0 versions.
14--ALIASES--
15HTML.EnableAttrID
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt
deleted file mode 100644
index fed8954c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1Attr.ForbiddenClasses
2TYPE: lookup
3VERSION: 4.0.0
4DEFAULT: array()
5--DESCRIPTION--
6List of forbidden class values in the class attribute. By default, this is
7empty, which means that no classes are forbidden. See also %Attr.AllowedClasses.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt
deleted file mode 100644
index 52168bb5..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt
+++ /dev/null
@@ -1,5 +0,0 @@
1Attr.IDBlacklist
2TYPE: list
3DEFAULT: array()
4DESCRIPTION: Array of IDs not allowed in the document.
5--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt
deleted file mode 100644
index 7b850430..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1Attr.IDBlacklistRegexp
2TYPE: string/null
3VERSION: 1.6.0
4DEFAULT: NULL
5--DESCRIPTION--
6PCRE regular expression to be matched against all IDs. If the expression is
7matches, the ID is rejected. Use this with care: may cause significant
8degradation. ID matching is done after all other validation.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt
deleted file mode 100644
index 57813827..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Attr.IDPrefix
2TYPE: string
3VERSION: 1.2.0
4DEFAULT: ''
5--DESCRIPTION--
6String to prefix to IDs. If you have no idea what IDs your pages may use,
7you may opt to simply add a prefix to all user-submitted ID attributes so
8that they are still usable, but will not conflict with core page IDs.
9Example: setting the directive to 'user_' will result in a user submitted
10'foo' to become 'user_foo' Be sure to set %HTML.EnableAttrID to true
11before using this.
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt
deleted file mode 100644
index f91fcd60..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Attr.IDPrefixLocal
2TYPE: string
3VERSION: 1.2.0
4DEFAULT: ''
5--DESCRIPTION--
6Temporary prefix for IDs used in conjunction with %Attr.IDPrefix. If you
7need to allow multiple sets of user content on web page, you may need to
8have a seperate prefix that changes with each iteration. This way,
9seperately submitted user content displayed on the same page doesn't
10clobber each other. Ideal values are unique identifiers for the content it
11represents (i.e. the id of the row in the database). Be sure to add a
12seperator (like an underscore) at the end. Warning: this directive will
13not work unless %Attr.IDPrefix is set to a non-empty value!
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt
deleted file mode 100644
index 2d7f94e0..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt
+++ /dev/null
@@ -1,31 +0,0 @@
1AutoFormat.AutoParagraph
2TYPE: bool
3VERSION: 2.0.1
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 This directive turns on auto-paragraphing, where double newlines are
9 converted in to paragraphs whenever possible. Auto-paragraphing:
10</p>
11<ul>
12 <li>Always applies to inline elements or text in the root node,</li>
13 <li>Applies to inline elements or text with double newlines in nodes
14 that allow paragraph tags,</li>
15 <li>Applies to double newlines in paragraph tags</li>
16</ul>
17<p>
18 <code>p</code> tags must be allowed for this directive to take effect.
19 We do not use <code>br</code> tags for paragraphing, as that is
20 semantically incorrect.
21</p>
22<p>
23 To prevent auto-paragraphing as a content-producer, refrain from using
24 double-newlines except to specify a new paragraph or in contexts where
25 it has special meaning (whitespace usually has no meaning except in
26 tags like <code>pre</code>, so this should not be difficult.) To prevent
27 the paragraphing of inline text adjacent to block elements, wrap them
28 in <code>div</code> tags (the behavior is slightly different outside of
29 the root node.)
30</p>
31--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt
deleted file mode 100644
index 2eb1974f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1AutoFormat.Custom
2TYPE: list
3VERSION: 2.0.1
4DEFAULT: array()
5--DESCRIPTION--
6
7<p>
8 This directive can be used to add custom auto-format injectors.
9 Specify an array of injector names (class name minus the prefix)
10 or concrete implementations. Injector class must exist.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt
deleted file mode 100644
index c955de7f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1AutoFormat.DisplayLinkURI
2TYPE: bool
3VERSION: 3.2.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 This directive turns on the in-text display of URIs in &lt;a&gt; tags, and disables
8 those links. For example, <a href="http://example.com">example</a> becomes
9 example (<a>http://example.com</a>).
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt
deleted file mode 100644
index 328b2b2b..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1AutoFormat.Linkify
2TYPE: bool
3VERSION: 2.0.1
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 This directive turns on linkification, auto-linking http, ftp and
9 https URLs. <code>a</code> tags with the <code>href</code> attribute
10 must be allowed.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt
deleted file mode 100644
index d0532b6b..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1AutoFormat.PurifierLinkify.DocURL
2TYPE: string
3VERSION: 2.0.1
4DEFAULT: '#%s'
5ALIASES: AutoFormatParam.PurifierLinkifyDocURL
6--DESCRIPTION--
7<p>
8 Location of configuration documentation to link to, let %s substitute
9 into the configuration's namespace and directive names sans the percent
10 sign.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt
deleted file mode 100644
index f3ab259a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1AutoFormat.PurifierLinkify
2TYPE: bool
3VERSION: 2.0.1
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 Internal auto-formatter that converts configuration directives in
9 syntax <a>%Namespace.Directive</a> to links. <code>a</code> tags
10 with the <code>href</code> attribute must be allowed.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt
deleted file mode 100644
index 219d04ac..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions
2TYPE: lookup
3VERSION: 4.0.0
4DEFAULT: array('td' => true, 'th' => true)
5--DESCRIPTION--
6<p>
7 When %AutoFormat.RemoveEmpty and %AutoFormat.RemoveEmpty.RemoveNbsp
8 are enabled, this directive defines what HTML elements should not be
9 removede if they have only a non-breaking space in them.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt
deleted file mode 100644
index 5f355d66..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt
+++ /dev/null
@@ -1,15 +0,0 @@
1AutoFormat.RemoveEmpty.RemoveNbsp
2TYPE: bool
3VERSION: 4.0.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 When enabled, HTML Purifier will treat any elements that contain only
8 non-breaking spaces as well as regular whitespace as empty, and remove
9 them when %AutoForamt.RemoveEmpty is enabled.
10</p>
11<p>
12 See %AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions for a list of elements
13 that don't have this behavior applied to them.
14</p>
15--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt
deleted file mode 100644
index 6b5a7a5c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt
+++ /dev/null
@@ -1,46 +0,0 @@
1AutoFormat.RemoveEmpty
2TYPE: bool
3VERSION: 3.2.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 When enabled, HTML Purifier will attempt to remove empty elements that
8 contribute no semantic information to the document. The following types
9 of nodes will be removed:
10</p>
11<ul><li>
12 Tags with no attributes and no content, and that are not empty
13 elements (remove <code>&lt;a&gt;&lt;/a&gt;</code> but not
14 <code>&lt;br /&gt;</code>), and
15 </li>
16 <li>
17 Tags with no content, except for:<ul>
18 <li>The <code>colgroup</code> element, or</li>
19 <li>
20 Elements with the <code>id</code> or <code>name</code> attribute,
21 when those attributes are permitted on those elements.
22 </li>
23 </ul></li>
24</ul>
25<p>
26 Please be very careful when using this functionality; while it may not
27 seem that empty elements contain useful information, they can alter the
28 layout of a document given appropriate styling. This directive is most
29 useful when you are processing machine-generated HTML, please avoid using
30 it on regular user HTML.
31</p>
32<p>
33 Elements that contain only whitespace will be treated as empty. Non-breaking
34 spaces, however, do not count as whitespace. See
35 %AutoFormat.RemoveEmpty.RemoveNbsp for alternate behavior.
36</p>
37<p>
38 This algorithm is not perfect; you may still notice some empty tags,
39 particularly if a node had elements, but those elements were later removed
40 because they were not permitted in that context, or tags that, after
41 being auto-closed by another tag, where empty. This is for safety reasons
42 to prevent clever code from breaking validation. The general rule of thumb:
43 if a tag looked empty on the way in, it will get removed; if HTML Purifier
44 made it empty, it will stay.
45</p>
46--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt
deleted file mode 100644
index a448770e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1AutoFormat.RemoveSpansWithoutAttributes
2TYPE: bool
3VERSION: 4.0.1
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 This directive causes <code>span</code> tags without any attributes
8 to be removed. It will also remove spans that had all attributes
9 removed during processing.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt
deleted file mode 100644
index 8096eb01..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1CSS.AllowImportant
2TYPE: bool
3DEFAULT: false
4VERSION: 3.1.0
5--DESCRIPTION--
6This parameter determines whether or not !important cascade modifiers should
7be allowed in user CSS. If false, !important will stripped.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt
deleted file mode 100644
index 9d34debc..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1CSS.AllowTricky
2TYPE: bool
3DEFAULT: false
4VERSION: 3.1.0
5--DESCRIPTION--
6This parameter determines whether or not to allow "tricky" CSS properties and
7values. Tricky CSS properties/values can drastically modify page layout or
8be used for deceptive practices but do not directly constitute a security risk.
9For example, <code>display:none;</code> is considered a tricky property that
10will only be allowed if this directive is set to true.
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt
deleted file mode 100644
index 7c2b5476..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1CSS.AllowedFonts
2TYPE: lookup/null
3VERSION: 4.3.0
4DEFAULT: NULL
5--DESCRIPTION--
6<p>
7 Allows you to manually specify a set of allowed fonts. If
8 <code>NULL</code>, all fonts are allowed. This directive
9 affects generic names (serif, sans-serif, monospace, cursive,
10 fantasy) as well as specific font families.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt
deleted file mode 100644
index f1ba513c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt
+++ /dev/null
@@ -1,18 +0,0 @@
1CSS.AllowedProperties
2TYPE: lookup/null
3VERSION: 3.1.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 If HTML Purifier's style attributes set is unsatisfactory for your needs,
9 you can overload it with your own list of tags to allow. Note that this
10 method is subtractive: it does its job by taking away from HTML Purifier
11 usual feature set, so you cannot add an attribute that HTML Purifier never
12 supported in the first place.
13</p>
14<p>
15 <strong>Warning:</strong> If another directive conflicts with the
16 elements here, <em>that</em> directive will win and override.
17</p>
18--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt
deleted file mode 100644
index 96b41082..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1CSS.DefinitionRev
2TYPE: int
3VERSION: 2.0.0
4DEFAULT: 1
5--DESCRIPTION--
6
7<p>
8 Revision identifier for your custom definition. See
9 %HTML.DefinitionRev for details.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt
deleted file mode 100644
index 923e8e99..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1CSS.ForbiddenProperties
2TYPE: lookup
3VERSION: 4.2.0
4DEFAULT: array()
5--DESCRIPTION--
6<p>
7 This is the logical inverse of %CSS.AllowedProperties, and it will
8 override that directive or any other directive. If possible,
9 %CSS.AllowedProperties is recommended over this directive,
10 because it can sometimes be difficult to tell whether or not you've
11 forbidden all of the CSS properties you truly would like to disallow.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt
deleted file mode 100644
index 3808581e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1CSS.MaxImgLength
2TYPE: string/null
3DEFAULT: '1200px'
4VERSION: 3.1.1
5--DESCRIPTION--
6<p>
7 This parameter sets the maximum allowed length on <code>img</code> tags,
8 effectively the <code>width</code> and <code>height</code> properties.
9 Only absolute units of measurement (in, pt, pc, mm, cm) and pixels (px) are allowed. This is
10 in place to prevent imagecrash attacks, disable with null at your own risk.
11 This directive is similar to %HTML.MaxImgLength, and both should be
12 concurrently edited, although there are
13 subtle differences in the input format (the CSS max is a number with
14 a unit).
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt
deleted file mode 100644
index 8a26f228..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1CSS.Proprietary
2TYPE: bool
3VERSION: 3.0.0
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 Whether or not to allow safe, proprietary CSS values.
9</p>
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt
deleted file mode 100644
index 917ec42b..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1CSS.Trusted
2TYPE: bool
3VERSION: 4.2.1
4DEFAULT: false
5--DESCRIPTION--
6Indicates whether or not the user's CSS input is trusted or not. If the
7input is trusted, a more expansive set of allowed properties. See
8also %HTML.Trusted.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt
deleted file mode 100644
index afc6a87a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Cache.DefinitionImpl
2TYPE: string/null
3VERSION: 2.0.0
4DEFAULT: 'Serializer'
5--DESCRIPTION--
6
7This directive defines which method to use when caching definitions,
8the complex data-type that makes HTML Purifier tick. Set to null
9to disable caching (not recommended, as you will see a definite
10performance degradation).
11
12--ALIASES--
13Core.DefinitionCache
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt
deleted file mode 100644
index 668f248a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1Cache.SerializerPath
2TYPE: string/null
3VERSION: 2.0.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 Absolute path with no trailing slash to store serialized definitions in.
9 Default is within the
10 HTML Purifier library inside DefinitionCache/Serializer. This
11 path must be writable by the webserver.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt
deleted file mode 100644
index 9c27b0ac..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Cache.SerializerPermissions
2TYPE: int
3VERSION: 4.3.0
4DEFAULT: 0755
5--DESCRIPTION--
6
7<p>
8 Directory permissions of the files and directories created inside
9 the DefinitionCache/Serializer or other custom serializer path.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt
deleted file mode 100644
index e0fa378e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt
+++ /dev/null
@@ -1,18 +0,0 @@
1Core.AggressivelyFixLt
2TYPE: bool
3VERSION: 2.1.0
4DEFAULT: true
5--DESCRIPTION--
6<p>
7 This directive enables aggressive pre-filter fixes HTML Purifier can
8 perform in order to ensure that open angled-brackets do not get killed
9 during parsing stage. Enabling this will result in two preg_replace_callback
10 calls and at least two preg_replace calls for every HTML document parsed;
11 if your users make very well-formed HTML, you can set this directive false.
12 This has no effect when DirectLex is used.
13</p>
14<p>
15 <strong>Notice:</strong> This directive's default turned from false to true
16 in HTML Purifier 3.2.0.
17</p>
18--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt
deleted file mode 100644
index 405d36f1..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1Core.AllowHostnameUnderscore
2TYPE: bool
3VERSION: 4.6.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 By RFC 1123, underscores are not permitted in host names.
8 (This is in contrast to the specification for DNS, RFC
9 2181, which allows underscores.)
10 However, most browsers do the right thing when faced with
11 an underscore in the host name, and so some poorly written
12 websites are written with the expectation this should work.
13 Setting this parameter to true relaxes our allowed character
14 check so that underscores are permitted.
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt
deleted file mode 100644
index c6ea0699..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Core.CollectErrors
2TYPE: bool
3VERSION: 2.0.0
4DEFAULT: false
5--DESCRIPTION--
6
7Whether or not to collect errors found while filtering the document. This
8is a useful way to give feedback to your users. <strong>Warning:</strong>
9Currently this feature is very patchy and experimental, with lots of
10possible error messages not yet implemented. It will not cause any
11problems, but it may not help your users either.
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt
deleted file mode 100644
index f7823982..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt
+++ /dev/null
@@ -1,29 +0,0 @@
1Core.ColorKeywords
2TYPE: hash
3VERSION: 2.0.0
4--DEFAULT--
5array (
6 'maroon' => '#800000',
7 'red' => '#FF0000',
8 'orange' => '#FFA500',
9 'yellow' => '#FFFF00',
10 'olive' => '#808000',
11 'purple' => '#800080',
12 'fuchsia' => '#FF00FF',
13 'white' => '#FFFFFF',
14 'lime' => '#00FF00',
15 'green' => '#008000',
16 'navy' => '#000080',
17 'blue' => '#0000FF',
18 'aqua' => '#00FFFF',
19 'teal' => '#008080',
20 'black' => '#000000',
21 'silver' => '#C0C0C0',
22 'gray' => '#808080',
23)
24--DESCRIPTION--
25
26Lookup array of color names to six digit hexadecimal number corresponding
27to color, with preceding hash mark. Used when parsing colors. The lookup
28is done in a case-insensitive manner.
29--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt
deleted file mode 100644
index 656d3783..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Core.ConvertDocumentToFragment
2TYPE: bool
3DEFAULT: true
4--DESCRIPTION--
5
6This parameter determines whether or not the filter should convert
7input that is a full document with html and body tags to a fragment
8of just the contents of a body tag. This parameter is simply something
9HTML Purifier can do during an edge-case: for most inputs, this
10processing is not necessary.
11
12--ALIASES--
13Core.AcceptFullDocuments
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt
deleted file mode 100644
index 2f54e462..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt
+++ /dev/null
@@ -1,17 +0,0 @@
1Core.DirectLexLineNumberSyncInterval
2TYPE: int
3VERSION: 2.0.0
4DEFAULT: 0
5--DESCRIPTION--
6
7<p>
8 Specifies the number of tokens the DirectLex line number tracking
9 implementations should process before attempting to resyncronize the
10 current line count by manually counting all previous new-lines. When
11 at 0, this functionality is disabled. Lower values will decrease
12 performance, and this is only strictly necessary if the counting
13 algorithm is buggy (in which case you should report it as a bug).
14 This has no effect when %Core.MaintainLineNumbers is disabled or DirectLex is
15 not being used.
16</p>
17--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt
deleted file mode 100644
index 3c63c923..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Core.DisableExcludes
2TYPE: bool
3DEFAULT: false
4VERSION: 4.5.0
5--DESCRIPTION--
6<p>
7 This directive disables SGML-style exclusions, e.g. the exclusion of
8 <code>&lt;object&gt;</code> in any descendant of a
9 <code>&lt;pre&gt;</code> tag. Disabling excludes will allow some
10 invalid documents to pass through HTML Purifier, but HTML Purifier
11 will also be less likely to accidentally remove large documents during
12 processing.
13</p>
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt
deleted file mode 100644
index 7f498e7e..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1Core.EnableIDNA
2TYPE: bool
3DEFAULT: false
4VERSION: 4.4.0
5--DESCRIPTION--
6Allows international domain names in URLs. This configuration option
7requires the PEAR Net_IDNA2 module to be installed. It operates by
8punycoding any internationalized host names for maximum portability.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt
deleted file mode 100644
index 89e2ae34..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt
+++ /dev/null
@@ -1,15 +0,0 @@
1Core.Encoding
2TYPE: istring
3DEFAULT: 'utf-8'
4--DESCRIPTION--
5If for some reason you are unable to convert all webpages to UTF-8, you can
6use this directive as a stop-gap compatibility change to let HTML Purifier
7deal with non UTF-8 input. This technique has notable deficiencies:
8absolutely no characters outside of the selected character encoding will be
9preserved, not even the ones that have been ampersand escaped (this is due
10to a UTF-8 specific <em>feature</em> that automatically resolves all
11entities), making it pretty useless for anything except the most I18N-blind
12applications, although %Core.EscapeNonASCIICharacters offers fixes this
13trouble with another tradeoff. This directive only accepts ISO-8859-1 if
14iconv is not enabled.
15--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt
deleted file mode 100644
index 1cc3fcda..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Core.EscapeInvalidChildren
2TYPE: bool
3DEFAULT: false
4--DESCRIPTION--
5<p><strong>Warning:</strong> this configuration option is no longer does anything as of 4.6.0.</p>
6
7<p>When true, a child is found that is not allowed in the context of the
8parent element will be transformed into text as if it were ASCII. When
9false, that element and all internal tags will be dropped, though text will
10be preserved. There is no option for dropping the element but preserving
11child nodes.</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt
deleted file mode 100644
index 299775fa..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt
+++ /dev/null
@@ -1,7 +0,0 @@
1Core.EscapeInvalidTags
2TYPE: bool
3DEFAULT: false
4--DESCRIPTION--
5When true, invalid tags will be written back to the document as plain text.
6Otherwise, they are silently dropped.
7--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt
deleted file mode 100644
index f50db2f9..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1Core.EscapeNonASCIICharacters
2TYPE: bool
3VERSION: 1.4.0
4DEFAULT: false
5--DESCRIPTION--
6This directive overcomes a deficiency in %Core.Encoding by blindly
7converting all non-ASCII characters into decimal numeric entities before
8converting it to its native encoding. This means that even characters that
9can be expressed in the non-UTF-8 encoding will be entity-ized, which can
10be a real downer for encodings like Big5. It also assumes that the ASCII
11repetoire is available, although this is the case for almost all encodings.
12Anyway, use UTF-8!
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt
deleted file mode 100644
index c337e47f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt
+++ /dev/null
@@ -1,19 +0,0 @@
1Core.HiddenElements
2TYPE: lookup
3--DEFAULT--
4array (
5 'script' => true,
6 'style' => true,
7)
8--DESCRIPTION--
9
10<p>
11 This directive is a lookup array of elements which should have their
12 contents removed when they are not allowed by the HTML definition.
13 For example, the contents of a <code>script</code> tag are not
14 normally shown in a document, so if script tags are to be removed,
15 their contents should be removed to. This is opposed to a <code>b</code>
16 tag, which defines some presentational changes but does not hide its
17 contents.
18</p>
19--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Language.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Language.txt
deleted file mode 100644
index ed1f39b5..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.Language.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1Core.Language
2TYPE: string
3VERSION: 2.0.0
4DEFAULT: 'en'
5--DESCRIPTION--
6
7ISO 639 language code for localizable things in HTML Purifier to use,
8which is mainly error reporting. There is currently only an English (en)
9translation, so this directive is currently useless.
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt
deleted file mode 100644
index e11c0152..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt
+++ /dev/null
@@ -1,34 +0,0 @@
1Core.LexerImpl
2TYPE: mixed/null
3VERSION: 2.0.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 This parameter determines what lexer implementation can be used. The
9 valid values are:
10</p>
11<dl>
12 <dt><em>null</em></dt>
13 <dd>
14 Recommended, the lexer implementation will be auto-detected based on
15 your PHP-version and configuration.
16 </dd>
17 <dt><em>string</em> lexer identifier</dt>
18 <dd>
19 This is a slim way of manually overridding the implementation.
20 Currently recognized values are: DOMLex (the default PHP5
21implementation)
22 and DirectLex (the default PHP4 implementation). Only use this if
23 you know what you are doing: usually, the auto-detection will
24 manage things for cases you aren't even aware of.
25 </dd>
26 <dt><em>object</em> lexer instance</dt>
27 <dd>
28 Super-advanced: you can specify your own, custom, implementation that
29 implements the interface defined by <code>HTMLPurifier_Lexer</code>.
30 I may remove this option simply because I don't expect anyone
31 to use it.
32 </dd>
33</dl>
34--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt
deleted file mode 100644
index 838f10f6..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1Core.MaintainLineNumbers
2TYPE: bool/null
3VERSION: 2.0.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 If true, HTML Purifier will add line number information to all tokens.
9 This is useful when error reporting is turned on, but can result in
10 significant performance degradation and should not be used when
11 unnecessary. This directive must be used with the DirectLex lexer,
12 as the DOMLex lexer does not (yet) support this functionality.
13 If the value is null, an appropriate value will be selected based
14 on other configuration.
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt
deleted file mode 100644
index 94a88600..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Core.NormalizeNewlines
2TYPE: bool
3VERSION: 4.2.0
4DEFAULT: true
5--DESCRIPTION--
6<p>
7 Whether or not to normalize newlines to the operating
8 system default. When <code>false</code>, HTML Purifier
9 will attempt to preserve mixed newline files.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt
deleted file mode 100644
index 704ac56c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Core.RemoveInvalidImg
2TYPE: bool
3DEFAULT: true
4VERSION: 1.3.0
5--DESCRIPTION--
6
7<p>
8 This directive enables pre-emptive URI checking in <code>img</code>
9 tags, as the attribute validation strategy is not authorized to
10 remove elements from the document. Revert to pre-1.3.0 behavior by setting to false.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt
deleted file mode 100644
index ed6f1342..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Core.RemoveProcessingInstructions
2TYPE: bool
3VERSION: 4.2.0
4DEFAULT: false
5--DESCRIPTION--
6Instead of escaping processing instructions in the form <code>&lt;? ...
7?&gt;</code>, remove it out-right. This may be useful if the HTML
8you are validating contains XML processing instruction gunk, however,
9it can also be user-unfriendly for people attempting to post PHP
10snippets.
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt
deleted file mode 100644
index efbe994c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1Core.RemoveScriptContents
2TYPE: bool/null
3DEFAULT: NULL
4VERSION: 2.0.0
5DEPRECATED-VERSION: 2.1.0
6DEPRECATED-USE: Core.HiddenElements
7--DESCRIPTION--
8<p>
9 This directive enables HTML Purifier to remove not only script tags
10 but all of their contents.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt
deleted file mode 100644
index 861ae66c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Filter.Custom
2TYPE: list
3VERSION: 3.1.0
4DEFAULT: array()
5--DESCRIPTION--
6<p>
7 This directive can be used to add custom filters; it is nearly the
8 equivalent of the now deprecated <code>HTMLPurifier-&gt;addFilter()</code>
9 method. Specify an array of concrete implementations.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt
deleted file mode 100644
index 69602635..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Filter.ExtractStyleBlocks.Escaping
2TYPE: bool
3VERSION: 3.0.0
4DEFAULT: true
5ALIASES: Filter.ExtractStyleBlocksEscaping, FilterParam.ExtractStyleBlocksEscaping
6--DESCRIPTION--
7
8<p>
9 Whether or not to escape the dangerous characters &lt;, &gt; and &amp;
10 as \3C, \3E and \26, respectively. This is can be safely set to false
11 if the contents of StyleBlocks will be placed in an external stylesheet,
12 where there is no risk of it being interpreted as HTML.
13</p>
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt
deleted file mode 100644
index baa81ae0..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt
+++ /dev/null
@@ -1,29 +0,0 @@
1Filter.ExtractStyleBlocks.Scope
2TYPE: string/null
3VERSION: 3.0.0
4DEFAULT: NULL
5ALIASES: Filter.ExtractStyleBlocksScope, FilterParam.ExtractStyleBlocksScope
6--DESCRIPTION--
7
8<p>
9 If you would like users to be able to define external stylesheets, but
10 only allow them to specify CSS declarations for a specific node and
11 prevent them from fiddling with other elements, use this directive.
12 It accepts any valid CSS selector, and will prepend this to any
13 CSS declaration extracted from the document. For example, if this
14 directive is set to <code>#user-content</code> and a user uses the
15 selector <code>a:hover</code>, the final selector will be
16 <code>#user-content a:hover</code>.
17</p>
18<p>
19 The comma shorthand may be used; consider the above example, with
20 <code>#user-content, #user-content2</code>, the final selector will
21 be <code>#user-content a:hover, #user-content2 a:hover</code>.
22</p>
23<p>
24 <strong>Warning:</strong> It is possible for users to bypass this measure
25 using a naughty + selector. This is a bug in CSS Tidy 1.3, not HTML
26 Purifier, and I am working to get it fixed. Until then, HTML Purifier
27 performs a basic check to prevent this.
28</p>
29--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt
deleted file mode 100644
index 3b701891..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1Filter.ExtractStyleBlocks.TidyImpl
2TYPE: mixed/null
3VERSION: 3.1.0
4DEFAULT: NULL
5ALIASES: FilterParam.ExtractStyleBlocksTidyImpl
6--DESCRIPTION--
7<p>
8 If left NULL, HTML Purifier will attempt to instantiate a <code>csstidy</code>
9 class to use for internal cleaning. This will usually be good enough.
10</p>
11<p>
12 However, for trusted user input, you can set this to <code>false</code> to
13 disable cleaning. In addition, you can supply your own concrete implementation
14 of Tidy's interface to use, although I don't know why you'd want to do that.
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt
deleted file mode 100644
index be0177d4..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt
+++ /dev/null
@@ -1,74 +0,0 @@
1Filter.ExtractStyleBlocks
2TYPE: bool
3VERSION: 3.1.0
4DEFAULT: false
5EXTERNAL: CSSTidy
6--DESCRIPTION--
7<p>
8 This directive turns on the style block extraction filter, which removes
9 <code>style</code> blocks from input HTML, cleans them up with CSSTidy,
10 and places them in the <code>StyleBlocks</code> context variable, for further
11 use by you, usually to be placed in an external stylesheet, or a
12 <code>style</code> block in the <code>head</code> of your document.
13</p>
14<p>
15 Sample usage:
16</p>
17<pre><![CDATA[
18<?php
19 header('Content-type: text/html; charset=utf-8');
20 echo '<?xml version="1.0" encoding="UTF-8"?>';
21?>
22<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
23 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
24<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
25<head>
26 <title>Filter.ExtractStyleBlocks</title>
27<?php
28 require_once '/path/to/library/HTMLPurifier.auto.php';
29 require_once '/path/to/csstidy.class.php';
30
31 $dirty = '<style>body {color:#F00;}</style> Some text';
32
33 $config = HTMLPurifier_Config::createDefault();
34 $config->set('Filter', 'ExtractStyleBlocks', true);
35 $purifier = new HTMLPurifier($config);
36
37 $html = $purifier->purify($dirty);
38
39 // This implementation writes the stylesheets to the styles/ directory.
40 // You can also echo the styles inside the document, but it's a bit
41 // more difficult to make sure they get interpreted properly by
42 // browsers; try the usual CSS armoring techniques.
43 $styles = $purifier->context->get('StyleBlocks');
44 $dir = 'styles/';
45 if (!is_dir($dir)) mkdir($dir);
46 $hash = sha1($_GET['html']);
47 foreach ($styles as $i => $style) {
48 file_put_contents($name = $dir . $hash . "_$i");
49 echo '<link rel="stylesheet" type="text/css" href="'.$name.'" />';
50 }
51?>
52</head>
53<body>
54 <div>
55 <?php echo $html; ?>
56 </div>
57</b]]><![CDATA[ody>
58</html>
59]]></pre>
60<p>
61 <strong>Warning:</strong> It is possible for a user to mount an
62 imagecrash attack using this CSS. Counter-measures are difficult;
63 it is not simply enough to limit the range of CSS lengths (using
64 relative lengths with many nesting levels allows for large values
65 to be attained without actually specifying them in the stylesheet),
66 and the flexible nature of selectors makes it difficult to selectively
67 disable lengths on image tags (HTML Purifier, however, does disable
68 CSS width and height in inline styling). There are probably two effective
69 counter measures: an explicit width and height set to auto in all
70 images in your document (unlikely) or the disabling of width and
71 height (somewhat reasonable). Whether or not these measures should be
72 used is left to the reader.
73</p>
74--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt
deleted file mode 100644
index 88221866..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1Filter.YouTube
2TYPE: bool
3VERSION: 3.1.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 <strong>Warning:</strong> Deprecated in favor of %HTML.SafeObject and
8 %Output.FlashCompat (turn both on to allow YouTube videos and other
9 Flash content).
10</p>
11<p>
12 This directive enables YouTube video embedding in HTML Purifier. Check
13 <a href="http://htmlpurifier.org/docs/enduser-youtube.html">this document
14 on embedding videos</a> for more information on what this filter does.
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt
deleted file mode 100644
index afd48a0d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt
+++ /dev/null
@@ -1,25 +0,0 @@
1HTML.Allowed
2TYPE: itext/null
3VERSION: 2.0.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 This is a preferred convenience directive that combines
9 %HTML.AllowedElements and %HTML.AllowedAttributes.
10 Specify elements and attributes that are allowed using:
11 <code>element1[attr1|attr2],element2...</code>. For example,
12 if you would like to only allow paragraphs and links, specify
13 <code>a[href],p</code>. You can specify attributes that apply
14 to all elements using an asterisk, e.g. <code>*[lang]</code>.
15 You can also use newlines instead of commas to separate elements.
16</p>
17<p>
18 <strong>Warning</strong>:
19 All of the constraints on the component directives are still enforced.
20 The syntax is a <em>subset</em> of TinyMCE's <code>valid_elements</code>
21 whitelist: directly copy-pasting it here will probably result in
22 broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes
23 are set, this directive has no effect.
24</p>
25--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt
deleted file mode 100644
index 0e6ec54f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt
+++ /dev/null
@@ -1,19 +0,0 @@
1HTML.AllowedAttributes
2TYPE: lookup/null
3VERSION: 1.3.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 If HTML Purifier's attribute set is unsatisfactory, overload it!
9 The syntax is "tag.attr" or "*.attr" for the global attributes
10 (style, id, class, dir, lang, xml:lang).
11</p>
12<p>
13 <strong>Warning:</strong> If another directive conflicts with the
14 elements here, <em>that</em> directive will win and override. For
15 example, %HTML.EnableAttrID will take precedence over *.id in this
16 directive. You must set that directive to true before you can use
17 IDs at all.
18</p>
19--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt
deleted file mode 100644
index 8440bc39..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1HTML.AllowedComments
2TYPE: lookup
3VERSION: 4.4.0
4DEFAULT: array()
5--DESCRIPTION--
6A whitelist which indicates what explicit comment bodies should be
7allowed, modulo leading and trailing whitespace. See also %HTML.AllowedCommentsRegexp
8(these directives are union'ed together, so a comment is considered
9valid if any directive deems it valid.)
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt
deleted file mode 100644
index b1e65beb..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt
+++ /dev/null
@@ -1,15 +0,0 @@
1HTML.AllowedCommentsRegexp
2TYPE: string/null
3VERSION: 4.4.0
4DEFAULT: NULL
5--DESCRIPTION--
6A regexp, which if it matches the body of a comment, indicates that
7it should be allowed. Trailing and leading spaces are removed prior
8to running this regular expression.
9<strong>Warning:</strong> Make sure you specify
10correct anchor metacharacters <code>^regex$</code>, otherwise you may accept
11comments that you did not mean to! In particular, the regex <code>/foo|bar/</code>
12is probably not sufficiently strict, since it also allows <code>foobar</code>.
13See also %HTML.AllowedComments (these directives are union'ed together,
14so a comment is considered valid if any directive deems it valid.)
15--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt
deleted file mode 100644
index ca3c13dd..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt
+++ /dev/null
@@ -1,23 +0,0 @@
1HTML.AllowedElements
2TYPE: lookup/null
3VERSION: 1.3.0
4DEFAULT: NULL
5--DESCRIPTION--
6<p>
7 If HTML Purifier's tag set is unsatisfactory for your needs, you can
8 overload it with your own list of tags to allow. If you change
9 this, you probably also want to change %HTML.AllowedAttributes; see
10 also %HTML.Allowed which lets you set allowed elements and
11 attributes at the same time.
12</p>
13<p>
14 If you attempt to allow an element that HTML Purifier does not know
15 about, HTML Purifier will raise an error. You will need to manually
16 tell HTML Purifier about this element by using the
17 <a href="http://htmlpurifier.org/docs/enduser-customize.html">advanced customization features.</a>
18</p>
19<p>
20 <strong>Warning:</strong> If another directive conflicts with the
21 elements here, <em>that</em> directive will win and override.
22</p>
23--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt
deleted file mode 100644
index e373791a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt
+++ /dev/null
@@ -1,20 +0,0 @@
1HTML.AllowedModules
2TYPE: lookup/null
3VERSION: 2.0.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 A doctype comes with a set of usual modules to use. Without having
9 to mucking about with the doctypes, you can quickly activate or
10 disable these modules by specifying which modules you wish to allow
11 with this directive. This is most useful for unit testing specific
12 modules, although end users may find it useful for their own ends.
13</p>
14<p>
15 If you specify a module that does not exist, the manager will silently
16 fail to use it, so be careful! User-defined modules are not affected
17 by this directive. Modules defined in %HTML.CoreModules are not
18 affected by this directive.
19</p>
20--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt
deleted file mode 100644
index 75d680ee..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1HTML.Attr.Name.UseCDATA
2TYPE: bool
3DEFAULT: false
4VERSION: 4.0.0
5--DESCRIPTION--
6The W3C specification DTD defines the name attribute to be CDATA, not ID, due
7to limitations of DTD. In certain documents, this relaxed behavior is desired,
8whether it is to specify duplicate names, or to specify names that would be
9illegal IDs (for example, names that begin with a digit.) Set this configuration
10directive to true to use the relaxed parsing rules.
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt
deleted file mode 100644
index f32b802c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt
+++ /dev/null
@@ -1,18 +0,0 @@
1HTML.BlockWrapper
2TYPE: string
3VERSION: 1.3.0
4DEFAULT: 'p'
5--DESCRIPTION--
6
7<p>
8 String name of element to wrap inline elements that are inside a block
9 context. This only occurs in the children of blockquote in strict mode.
10</p>
11<p>
12 Example: by default value,
13 <code>&lt;blockquote&gt;Foo&lt;/blockquote&gt;</code> would become
14 <code>&lt;blockquote&gt;&lt;p&gt;Foo&lt;/p&gt;&lt;/blockquote&gt;</code>.
15 The <code>&lt;p&gt;</code> tags can be replaced with whatever you desire,
16 as long as it is a block level element.
17</p>
18--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt
deleted file mode 100644
index fc8e4020..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt
+++ /dev/null
@@ -1,23 +0,0 @@
1HTML.CoreModules
2TYPE: lookup
3VERSION: 2.0.0
4--DEFAULT--
5array (
6 'Structure' => true,
7 'Text' => true,
8 'Hypertext' => true,
9 'List' => true,
10 'NonXMLCommonAttributes' => true,
11 'XMLCommonAttributes' => true,
12 'CommonAttributes' => true,
13)
14--DESCRIPTION--
15
16<p>
17 Certain modularized doctypes (XHTML, namely), have certain modules
18 that must be included for the doctype to be an conforming document
19 type: put those modules here. By default, XHTML's core modules
20 are used. You can set this to a blank array to disable core module
21 protection, but this is not recommended.
22</p>
23--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt
deleted file mode 100644
index a2bde5dc..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1HTML.CustomDoctype
2TYPE: string/null
3VERSION: 2.0.1
4DEFAULT: NULL
5--DESCRIPTION--
6
7A custom doctype for power-users who defined there own document
8type. This directive only applies when %HTML.Doctype is blank.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt
deleted file mode 100644
index f5433e3f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt
+++ /dev/null
@@ -1,33 +0,0 @@
1HTML.DefinitionID
2TYPE: string/null
3DEFAULT: NULL
4VERSION: 2.0.0
5--DESCRIPTION--
6
7<p>
8 Unique identifier for a custom-built HTML definition. If you edit
9 the raw version of the HTMLDefinition, introducing changes that the
10 configuration object does not reflect, you must specify this variable.
11 If you change your custom edits, you should change this directive, or
12 clear your cache. Example:
13</p>
14<pre>
15$config = HTMLPurifier_Config::createDefault();
16$config->set('HTML', 'DefinitionID', '1');
17$def = $config->getHTMLDefinition();
18$def->addAttribute('a', 'tabindex', 'Number');
19</pre>
20<p>
21 In the above example, the configuration is still at the defaults, but
22 using the advanced API, an extra attribute has been added. The
23 configuration object normally has no way of knowing that this change
24 has taken place, so it needs an extra directive: %HTML.DefinitionID.
25 If someone else attempts to use the default configuration, these two
26 pieces of code will not clobber each other in the cache, since one has
27 an extra directive attached to it.
28</p>
29<p>
30 You <em>must</em> specify a value to this directive to use the
31 advanced API features.
32</p>
33--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt
deleted file mode 100644
index 0bb5a718..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt
+++ /dev/null
@@ -1,16 +0,0 @@
1HTML.DefinitionRev
2TYPE: int
3VERSION: 2.0.0
4DEFAULT: 1
5--DESCRIPTION--
6
7<p>
8 Revision identifier for your custom definition specified in
9 %HTML.DefinitionID. This serves the same purpose: uniquely identifying
10 your custom definition, but this one does so in a chronological
11 context: revision 3 is more up-to-date then revision 2. Thus, when
12 this gets incremented, the cache handling is smart enough to clean
13 up any older revisions of your definition as well as flush the
14 cache.
15</p>
16--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt
deleted file mode 100644
index a6969b99..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1HTML.Doctype
2TYPE: string/null
3DEFAULT: NULL
4--DESCRIPTION--
5Doctype to use during filtering. Technically speaking this is not actually
6a doctype (as it does not identify a corresponding DTD), but we are using
7this name for sake of simplicity. When non-blank, this will override any
8older directives like %HTML.XHTML or %HTML.Strict.
9--ALLOWED--
10'HTML 4.01 Transitional', 'HTML 4.01 Strict', 'XHTML 1.0 Transitional', 'XHTML 1.0 Strict', 'XHTML 1.1'
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt
deleted file mode 100644
index 08d641f9..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1HTML.FlashAllowFullScreen
2TYPE: bool
3VERSION: 4.2.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Whether or not to permit embedded Flash content from
8 %HTML.SafeObject to expand to the full screen. Corresponds to
9 the <code>allowFullScreen</code> parameter.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt
deleted file mode 100644
index 2b8df97c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt
+++ /dev/null
@@ -1,21 +0,0 @@
1HTML.ForbiddenAttributes
2TYPE: lookup
3VERSION: 3.1.0
4DEFAULT: array()
5--DESCRIPTION--
6<p>
7 While this directive is similar to %HTML.AllowedAttributes, for
8 forwards-compatibility with XML, this attribute has a different syntax. Instead of
9 <code>tag.attr</code>, use <code>tag@attr</code>. To disallow <code>href</code>
10 attributes in <code>a</code> tags, set this directive to
11 <code>a@href</code>. You can also disallow an attribute globally with
12 <code>attr</code> or <code>*@attr</code> (either syntax is fine; the latter
13 is provided for consistency with %HTML.AllowedAttributes).
14</p>
15<p>
16 <strong>Warning:</strong> This directive complements %HTML.ForbiddenElements,
17 accordingly, check
18 out that directive for a discussion of why you
19 should think twice before using this directive.
20</p>
21--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt
deleted file mode 100644
index 40466c46..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt
+++ /dev/null
@@ -1,20 +0,0 @@
1HTML.ForbiddenElements
2TYPE: lookup
3VERSION: 3.1.0
4DEFAULT: array()
5--DESCRIPTION--
6<p>
7 This was, perhaps, the most requested feature ever in HTML
8 Purifier. Please don't abuse it! This is the logical inverse of
9 %HTML.AllowedElements, and it will override that directive, or any
10 other directive.
11</p>
12<p>
13 If possible, %HTML.Allowed is recommended over this directive, because it
14 can sometimes be difficult to tell whether or not you've forbidden all of
15 the behavior you would like to disallow. If you forbid <code>img</code>
16 with the expectation of preventing images on your site, you'll be in for
17 a nasty surprise when people start using the <code>background-image</code>
18 CSS property.
19</p>
20--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt
deleted file mode 100644
index 31974795..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1HTML.MaxImgLength
2TYPE: int/null
3DEFAULT: 1200
4VERSION: 3.1.1
5--DESCRIPTION--
6<p>
7 This directive controls the maximum number of pixels in the width and
8 height attributes in <code>img</code> tags. This is
9 in place to prevent imagecrash attacks, disable with null at your own risk.
10 This directive is similar to %CSS.MaxImgLength, and both should be
11 concurrently edited, although there are
12 subtle differences in the input format (the HTML max is an integer).
13</p>
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt
deleted file mode 100644
index 7aa35635..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt
+++ /dev/null
@@ -1,7 +0,0 @@
1HTML.Nofollow
2TYPE: bool
3VERSION: 4.3.0
4DEFAULT: FALSE
5--DESCRIPTION--
6If enabled, nofollow rel attributes are added to all outgoing links.
7--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt
deleted file mode 100644
index 2d2fbd11..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1HTML.Parent
2TYPE: string
3VERSION: 1.3.0
4DEFAULT: 'div'
5--DESCRIPTION--
6
7<p>
8 String name of element that HTML fragment passed to library will be
9 inserted in. An interesting variation would be using span as the
10 parent element, meaning that only inline tags would be allowed.
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt
deleted file mode 100644
index b3c45e19..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt
+++ /dev/null
@@ -1,12 +0,0 @@
1HTML.Proprietary
2TYPE: bool
3VERSION: 3.1.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Whether or not to allow proprietary elements and attributes in your
8 documents, as per <code>HTMLPurifier_HTMLModule_Proprietary</code>.
9 <strong>Warning:</strong> This can cause your documents to stop
10 validating!
11</p>
12--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt
deleted file mode 100644
index 556fa674..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1HTML.SafeEmbed
2TYPE: bool
3VERSION: 3.1.1
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Whether or not to permit embed tags in documents, with a number of extra
8 security features added to prevent script execution. This is similar to
9 what websites like MySpace do to embed tags. Embed is a proprietary
10 element and will cause your website to stop validating; you should
11 see if you can use %Output.FlashCompat with %HTML.SafeObject instead
12 first.</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt
deleted file mode 100644
index 295a8cf6..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1HTML.SafeIframe
2TYPE: bool
3VERSION: 4.4.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Whether or not to permit iframe tags in untrusted documents. This
8 directive must be accompanied by a whitelist of permitted iframes,
9 such as %URI.SafeIframeRegexp, otherwise it will fatally error.
10 This directive has no effect on strict doctypes, as iframes are not
11 valid.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt
deleted file mode 100644
index 07f6e536..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1HTML.SafeObject
2TYPE: bool
3VERSION: 3.1.1
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Whether or not to permit object tags in documents, with a number of extra
8 security features added to prevent script execution. This is similar to
9 what websites like MySpace do to object tags. You should also enable
10 %Output.FlashCompat in order to generate Internet Explorer
11 compatibility code for your object tags.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt
deleted file mode 100644
index 641b4a8d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1HTML.SafeScripting
2TYPE: lookup
3VERSION: 4.5.0
4DEFAULT: array()
5--DESCRIPTION--
6<p>
7 Whether or not to permit script tags to external scripts in documents.
8 Inline scripting is not allowed, and the script must match an explicit whitelist.
9</p>
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt
deleted file mode 100644
index d99663a5..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1HTML.Strict
2TYPE: bool
3VERSION: 1.3.0
4DEFAULT: false
5DEPRECATED-VERSION: 1.7.0
6DEPRECATED-USE: HTML.Doctype
7--DESCRIPTION--
8Determines whether or not to use Transitional (loose) or Strict rulesets.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt
deleted file mode 100644
index d65f0d04..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1HTML.TargetBlank
2TYPE: bool
3VERSION: 4.4.0
4DEFAULT: FALSE
5--DESCRIPTION--
6If enabled, <code>target=blank</code> attributes are added to all outgoing links.
7(This includes links from an HTTPS version of a page to an HTTP version.)
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt
deleted file mode 100644
index 602453f6..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1HTML.TidyAdd
2TYPE: lookup
3VERSION: 2.0.0
4DEFAULT: array()
5--DESCRIPTION--
6
7Fixes to add to the default set of Tidy fixes as per your level.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt
deleted file mode 100644
index bf943e8f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt
+++ /dev/null
@@ -1,24 +0,0 @@
1HTML.TidyLevel
2TYPE: string
3VERSION: 2.0.0
4DEFAULT: 'medium'
5--DESCRIPTION--
6
7<p>General level of cleanliness the Tidy module should enforce.
8There are four allowed values:</p>
9<dl>
10 <dt>none</dt>
11 <dd>No extra tidying should be done</dd>
12 <dt>light</dt>
13 <dd>Only fix elements that would be discarded otherwise due to
14 lack of support in doctype</dd>
15 <dt>medium</dt>
16 <dd>Enforce best practices</dd>
17 <dt>heavy</dt>
18 <dd>Transform all deprecated elements and attributes to standards
19 compliant equivalents</dd>
20</dl>
21
22--ALLOWED--
23'none', 'light', 'medium', 'heavy'
24--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt
deleted file mode 100644
index 92cca2a4..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt
+++ /dev/null
@@ -1,8 +0,0 @@
1HTML.TidyRemove
2TYPE: lookup
3VERSION: 2.0.0
4DEFAULT: array()
5--DESCRIPTION--
6
7Fixes to remove from the default set of Tidy fixes as per your level.
8--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt
deleted file mode 100644
index bc8e6549..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1HTML.Trusted
2TYPE: bool
3VERSION: 2.0.0
4DEFAULT: false
5--DESCRIPTION--
6Indicates whether or not the user input is trusted or not. If the input is
7trusted, a more expansive set of allowed tags and attributes will be used.
8See also %CSS.Trusted.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt
deleted file mode 100644
index a3c2f42c..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1HTML.XHTML
2TYPE: bool
3DEFAULT: true
4VERSION: 1.1.0
5DEPRECATED-VERSION: 1.7.0
6DEPRECATED-USE: HTML.Doctype
7--DESCRIPTION--
8Determines whether or not output is XHTML 1.0 or HTML 4.01 flavor.
9--ALIASES--
10Core.XHTML
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt
deleted file mode 100644
index 2a137047..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1Output.CommentScriptContents
2TYPE: bool
3VERSION: 2.0.0
4DEFAULT: true
5--DESCRIPTION--
6Determines whether or not HTML Purifier should attempt to fix up the
7contents of script tags for legacy browsers with comments.
8--ALIASES--
9Core.CommentScriptContents
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt
deleted file mode 100644
index d215ba2d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt
+++ /dev/null
@@ -1,15 +0,0 @@
1Output.FixInnerHTML
2TYPE: bool
3VERSION: 4.3.0
4DEFAULT: true
5--DESCRIPTION--
6<p>
7 If true, HTML Purifier will protect against Internet Explorer's
8 mishandling of the <code>innerHTML</code> attribute by appending
9 a space to any attribute that does not contain angled brackets, spaces
10 or quotes, but contains a backtick. This slightly changes the
11 semantics of any given attribute, so if this is unacceptable and
12 you do not use <code>innerHTML</code> on any of your pages, you can
13 turn this directive off.
14</p>
15--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt
deleted file mode 100644
index e58f91aa..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1Output.FlashCompat
2TYPE: bool
3VERSION: 4.1.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 If true, HTML Purifier will generate Internet Explorer compatibility
8 code for all object code. This is highly recommended if you enable
9 %HTML.SafeObject.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt
deleted file mode 100644
index 4bb90252..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1Output.Newline
2TYPE: string/null
3VERSION: 2.0.1
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 Newline string to format final output with. If left null, HTML Purifier
9 will auto-detect the default newline type of the system and use that;
10 you can manually override it here. Remember, \r\n is Windows, \r
11 is Mac, and \n is Unix.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt
deleted file mode 100644
index 32231065..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1Output.SortAttr
2TYPE: bool
3VERSION: 3.2.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 If true, HTML Purifier will sort attributes by name before writing them back
8 to the document, converting a tag like: <code>&lt;el b="" a="" c="" /&gt;</code>
9 to <code>&lt;el a="" b="" c="" /&gt;</code>. This is a workaround for
10 a bug in FCKeditor which causes it to swap attributes order, adding noise
11 to text diffs. If you're not seeing this bug, chances are, you don't need
12 this directive.
13</p>
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt
deleted file mode 100644
index 23dd4d3d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt
+++ /dev/null
@@ -1,25 +0,0 @@
1Output.TidyFormat
2TYPE: bool
3VERSION: 1.1.1
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Determines whether or not to run Tidy on the final output for pretty
8 formatting reasons, such as indentation and wrap.
9</p>
10<p>
11 This can greatly improve readability for editors who are hand-editing
12 the HTML, but is by no means necessary as HTML Purifier has already
13 fixed all major errors the HTML may have had. Tidy is a non-default
14 extension, and this directive will silently fail if Tidy is not
15 available.
16</p>
17<p>
18 If you are looking to make the overall look of your page's source
19 better, I recommend running Tidy on the entire page rather than just
20 user-content (after all, the indentation relative to the containing
21 blocks will be incorrect).
22</p>
23--ALIASES--
24Core.TidyFormat
25--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt
deleted file mode 100644
index d1820cdb..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt
+++ /dev/null
@@ -1,7 +0,0 @@
1Test.ForceNoIconv
2TYPE: bool
3DEFAULT: false
4--DESCRIPTION--
5When set to true, HTMLPurifier_Encoder will act as if iconv does not exist
6and use only pure PHP implementations.
7--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt
deleted file mode 100644
index 47714f5d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt
+++ /dev/null
@@ -1,17 +0,0 @@
1URI.AllowedSchemes
2TYPE: lookup
3--DEFAULT--
4array (
5 'http' => true,
6 'https' => true,
7 'mailto' => true,
8 'ftp' => true,
9 'nntp' => true,
10 'news' => true,
11)
12--DESCRIPTION--
13Whitelist that defines the schemes that a URI is allowed to have. This
14prevents XSS attacks from using pseudo-schemes like javascript or mocha.
15There is also support for the <code>data</code> and <code>file</code>
16URI schemes, but they are not enabled by default.
17--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Base.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Base.txt
deleted file mode 100644
index ba473080..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Base.txt
+++ /dev/null
@@ -1,17 +0,0 @@
1URI.Base
2TYPE: string/null
3VERSION: 2.1.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 The base URI is the URI of the document this purified HTML will be
9 inserted into. This information is important if HTML Purifier needs
10 to calculate absolute URIs from relative URIs, such as when %URI.MakeAbsolute
11 is on. You may use a non-absolute URI for this value, but behavior
12 may vary (%URI.MakeAbsolute deals nicely with both absolute and
13 relative paths, but forwards-compatibility is not guaranteed).
14 <strong>Warning:</strong> If set, the scheme on this URI
15 overrides the one specified by %URI.DefaultScheme.
16</p>
17--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt
deleted file mode 100644
index 0700e0b1..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt
+++ /dev/null
@@ -1,10 +0,0 @@
1URI.DefaultScheme
2TYPE: string
3DEFAULT: 'http'
4--DESCRIPTION--
5
6<p>
7 Defines through what scheme the output will be served, in order to
8 select the proper object validator when no scheme information is present.
9</p>
10--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt
deleted file mode 100644
index 523204c0..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1URI.DefinitionID
2TYPE: string/null
3VERSION: 2.1.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 Unique identifier for a custom-built URI definition. If you want
9 to add custom URIFilters, you must specify this value.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt
deleted file mode 100644
index a9c07b1a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1URI.DefinitionRev
2TYPE: int
3VERSION: 2.1.0
4DEFAULT: 1
5--DESCRIPTION--
6
7<p>
8 Revision identifier for your custom definition. See
9 %HTML.DefinitionRev for details.
10</p>
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt
deleted file mode 100644
index b19ca1d5..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt
+++ /dev/null
@@ -1,14 +0,0 @@
1URI.Disable
2TYPE: bool
3VERSION: 1.3.0
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 Disables all URIs in all forms. Not sure why you'd want to do that
9 (after all, the Internet's founded on the notion of a hyperlink).
10</p>
11
12--ALIASES--
13Attr.DisableURI
14--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt
deleted file mode 100644
index 9132ea4f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt
+++ /dev/null
@@ -1,11 +0,0 @@
1URI.DisableExternal
2TYPE: bool
3VERSION: 1.2.0
4DEFAULT: false
5--DESCRIPTION--
6Disables links to external websites. This is a highly effective anti-spam
7and anti-pagerank-leech measure, but comes at a hefty price: nolinks or
8images outside of your domain will be allowed. Non-linkified URIs will
9still be preserved. If you want to be able to link to subdomains or use
10absolute URIs, specify %URI.Host for your website.
11--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt
deleted file mode 100644
index d74bc1e3..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1URI.DisableExternalResources
2TYPE: bool
3VERSION: 1.3.0
4DEFAULT: false
5--DESCRIPTION--
6Disables the embedding of external resources, preventing users from
7embedding things like images from other hosts. This prevents access
8tracking (good for email viewers), bandwidth leeching, cross-site request
9forging, goatse.cx posting, and other nasties, but also results in a loss
10of end-user functionality (they can't directly post a pic they posted from
11Flickr anymore). Use it if you don't have a robust user-content moderation
12team.
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt
deleted file mode 100644
index 6c106144..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt
+++ /dev/null
@@ -1,15 +0,0 @@
1URI.DisableResources
2TYPE: bool
3VERSION: 4.2.0
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 Disables embedding resources, essentially meaning no pictures. You can
8 still link to them though. See %URI.DisableExternalResources for why
9 this might be a good idea.
10</p>
11<p>
12 <em>Note:</em> While this directive has been available since 1.3.0,
13 it didn't actually start doing anything until 4.2.0.
14</p>
15--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Host.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Host.txt
deleted file mode 100644
index ba0e6bce..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Host.txt
+++ /dev/null
@@ -1,19 +0,0 @@
1URI.Host
2TYPE: string/null
3VERSION: 1.2.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 Defines the domain name of the server, so we can determine whether or
9 an absolute URI is from your website or not. Not strictly necessary,
10 as users should be using relative URIs to reference resources on your
11 website. It will, however, let you use absolute URIs to link to
12 subdomains of the domain you post here: i.e. example.com will allow
13 sub.example.com. However, higher up domains will still be excluded:
14 if you set %URI.Host to sub.example.com, example.com will be blocked.
15 <strong>Note:</strong> This directive overrides %URI.Base because
16 a given page may be on a sub-domain, but you wish HTML Purifier to be
17 more relaxed and allow some of the parent domains too.
18</p>
19--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt
deleted file mode 100644
index 825fef27..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1URI.HostBlacklist
2TYPE: list
3VERSION: 1.3.0
4DEFAULT: array()
5--DESCRIPTION--
6List of strings that are forbidden in the host of any URI. Use it to kill
7domain names of spam, etc. Note that it will catch anything in the domain,
8so <tt>moo.com</tt> will catch <tt>moo.com.example.com</tt>.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt
deleted file mode 100644
index eb58c7f1..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt
+++ /dev/null
@@ -1,13 +0,0 @@
1URI.MakeAbsolute
2TYPE: bool
3VERSION: 2.1.0
4DEFAULT: false
5--DESCRIPTION--
6
7<p>
8 Converts all URIs into absolute forms. This is useful when the HTML
9 being filtered assumes a specific base path, but will actually be
10 viewed in a different context (and setting an alternate base URI is
11 not possible). %URI.Base must be set for this directive to work.
12</p>
13--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt
deleted file mode 100644
index bedd610d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt
+++ /dev/null
@@ -1,83 +0,0 @@
1URI.Munge
2TYPE: string/null
3VERSION: 1.3.0
4DEFAULT: NULL
5--DESCRIPTION--
6
7<p>
8 Munges all browsable (usually http, https and ftp)
9 absolute URIs into another URI, usually a URI redirection service.
10 This directive accepts a URI, formatted with a <code>%s</code> where
11 the url-encoded original URI should be inserted (sample:
12 <code>http://www.google.com/url?q=%s</code>).
13</p>
14<p>
15 Uses for this directive:
16</p>
17<ul>
18 <li>
19 Prevent PageRank leaks, while being fairly transparent
20 to users (you may also want to add some client side JavaScript to
21 override the text in the statusbar). <strong>Notice</strong>:
22 Many security experts believe that this form of protection does not deter spam-bots.
23 </li>
24 <li>
25 Redirect users to a splash page telling them they are leaving your
26 website. While this is poor usability practice, it is often mandated
27 in corporate environments.
28 </li>
29</ul>
30<p>
31 Prior to HTML Purifier 3.1.1, this directive also enabled the munging
32 of browsable external resources, which could break things if your redirection
33 script was a splash page or used <code>meta</code> tags. To revert to
34 previous behavior, please use %URI.MungeResources.
35</p>
36<p>
37 You may want to also use %URI.MungeSecretKey along with this directive
38 in order to enforce what URIs your redirector script allows. Open
39 redirector scripts can be a security risk and negatively affect the
40 reputation of your domain name.
41</p>
42<p>
43 Starting with HTML Purifier 3.1.1, there is also these substitutions:
44</p>
45<table>
46 <thead>
47 <tr>
48 <th>Key</th>
49 <th>Description</th>
50 <th>Example <code>&lt;a href=""&gt;</code></th>
51 </tr>
52 </thead>
53 <tbody>
54 <tr>
55 <td>%r</td>
56 <td>1 - The URI embeds a resource<br />(blank) - The URI is merely a link</td>
57 <td></td>
58 </tr>
59 <tr>
60 <td>%n</td>
61 <td>The name of the tag this URI came from</td>
62 <td>a</td>
63 </tr>
64 <tr>
65 <td>%m</td>
66 <td>The name of the attribute this URI came from</td>
67 <td>href</td>
68 </tr>
69 <tr>
70 <td>%p</td>
71 <td>The name of the CSS property this URI came from, or blank if irrelevant</td>
72 <td></td>
73 </tr>
74 </tbody>
75</table>
76<p>
77 Admittedly, these letters are somewhat arbitrary; the only stipulation
78 was that they couldn't be a through f. r is for resource (I would have preferred
79 e, but you take what you can get), n is for name, m
80 was picked because it came after n (and I couldn't use a), p is for
81 property.
82</p>
83--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt
deleted file mode 100644
index ed4b5b0d..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt
+++ /dev/null
@@ -1,17 +0,0 @@
1URI.MungeResources
2TYPE: bool
3VERSION: 3.1.1
4DEFAULT: false
5--DESCRIPTION--
6<p>
7 If true, any URI munging directives like %URI.Munge
8 will also apply to embedded resources, such as <code>&lt;img src=""&gt;</code>.
9 Be careful enabling this directive if you have a redirector script
10 that does not use the <code>Location</code> HTTP header; all of your images
11 and other embedded resources will break.
12</p>
13<p>
14 <strong>Warning:</strong> It is strongly advised you use this in conjunction
15 %URI.MungeSecretKey to mitigate the security risk of an open redirector.
16</p>
17--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt
deleted file mode 100644
index 123b6e26..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt
+++ /dev/null
@@ -1,30 +0,0 @@
1URI.MungeSecretKey
2TYPE: string/null
3VERSION: 3.1.1
4DEFAULT: NULL
5--DESCRIPTION--
6<p>
7 This directive enables secure checksum generation along with %URI.Munge.
8 It should be set to a secure key that is not shared with anyone else.
9 The checksum can be placed in the URI using %t. Use of this checksum
10 affords an additional level of protection by allowing a redirector
11 to check if a URI has passed through HTML Purifier with this line:
12</p>
13
14<pre>$checksum === hash_hmac("sha256", $url, $secret_key)</pre>
15
16<p>
17 If the output is TRUE, the redirector script should accept the URI.
18</p>
19
20<p>
21 Please note that it would still be possible for an attacker to procure
22 secure hashes en-mass by abusing your website's Preview feature or the
23 like, but this service affords an additional level of protection
24 that should be combined with website blacklisting.
25</p>
26
27<p>
28 Remember this has no effect if %URI.Munge is not on.
29</p>
30--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt
deleted file mode 100644
index 8b387dea..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1URI.OverrideAllowedSchemes
2TYPE: bool
3DEFAULT: true
4--DESCRIPTION--
5If this is set to true (which it is by default), you can override
6%URI.AllowedSchemes by simply registering a HTMLPurifier_URIScheme to the
7registry. If false, you will also have to update that directive in order
8to add more schemes.
9--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt
deleted file mode 100644
index 7e1f227f..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt
+++ /dev/null
@@ -1,22 +0,0 @@
1URI.SafeIframeRegexp
2TYPE: string/null
3VERSION: 4.4.0
4DEFAULT: NULL
5--DESCRIPTION--
6<p>
7 A PCRE regular expression that will be matched against an iframe URI. This is
8 a relatively inflexible scheme, but works well enough for the most common
9 use-case of iframes: embedded video. This directive only has an effect if
10 %HTML.SafeIframe is enabled. Here are some example values:
11</p>
12<ul>
13 <li><code>%^http://www.youtube.com/embed/%</code> - Allow YouTube videos</li>
14 <li><code>%^http://player.vimeo.com/video/%</code> - Allow Vimeo videos</li>
15 <li><code>%^http://(www.youtube.com/embed/|player.vimeo.com/video/)%</code> - Allow both</li>
16</ul>
17<p>
18 Note that this directive does not give you enough granularity to, say, disable
19 all <code>autoplay</code> videos. Pipe up on the HTML Purifier forums if this
20 is a capability you want.
21</p>
22--# vim: et sw=4 sts=4
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/info.ini b/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/info.ini
deleted file mode 100644
index 58e0ce4a..00000000
--- a/inc/3rdparty/htmlpurifier/HTMLPurifier/ConfigSchema/schema/info.ini
+++ /dev/null
@@ -1,3 +0,0 @@
1name = "HTML Purifier"
2
3; vim: et sw=4 sts=4