[COMPOSER] update

This commit is contained in:
Diogo Cordeiro
2019-11-16 16:51:01 +00:00
parent 51b5b1c08c
commit f09e3362aa
51 changed files with 1335 additions and 1050 deletions

View File

@@ -45,7 +45,7 @@ class HTMLPurifier_ChildDef_Custom extends HTMLPurifier_ChildDef
protected function _compileRegex()
{
$raw = str_replace(' ', '', $this->dtd_regex);
if ($raw{0} != '(') {
if ($raw[0] != '(') {
$raw = "($raw)";
}
$el = '[#a-zA-Z0-9_.-]+';