Fixed : fix php version compatible with php version 8.2 to 8.5

This commit is contained in:
amit sharma
2026-09-01 19:51:37 +05:30
parent 761fc63c67
commit 74143c6dad
54 changed files with 200 additions and 152 deletions

View File

@@ -21,7 +21,7 @@ class HTMLPurifier_Config
* HTML Purifier's version
* @type string
*/
public $version = '4.18.0';
public $version = '4.19.0';
/**
* Whether or not to automatically finalize
@@ -898,7 +898,11 @@ class HTMLPurifier_Config
break;
}
}
trigger_error($msg . $extra, $no);
if ($no == E_USER_ERROR) {
throw new Exception($msg . $extra);
} else {
trigger_error($msg . $extra, $no);
}
}
/**