MDL-51532 libraries: Update htmlpurifier to 4.7.0

This commit is contained in:
Damyon Wiese
2015-09-30 11:55:03 +08:00
parent fd57d685c7
commit 7fa6b58762
18 changed files with 577 additions and 34 deletions
@@ -32,9 +32,6 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
*/
public function validate($string, $config, $context)
{
if (empty($string)) {
return false;
}
return $this->name;
}