MDL-58548 lib: Update htmlpurifier to the latest version.

This commit is contained in:
Adrian Greeve
2017-10-02 08:19:40 +08:00
parent 23ab0d7788
commit 247ff6bc2b
30 changed files with 575 additions and 115 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ class HTMLPurifier_Config
* HTML Purifier's version
* @type string
*/
public $version = '4.8.0';
public $version = '4.9.3';
/**
* Whether or not to automatically finalize
@@ -333,7 +333,7 @@ class HTMLPurifier_Config
}
// Raw type might be negative when using the fully optimized form
// of stdclass, which indicates allow_null == true
// of stdClass, which indicates allow_null == true
$rtype = is_int($def) ? $def : $def->type;
if ($rtype < 0) {
$type = -$rtype;