MDL-84154 libraries: Upgrade HTML Purifier to 4.18.0

The library comes with an advertised PHP 8.4 compatibility.

Signed-off-by: Daniel Ziegenberg <[email protected]>
This commit is contained in:
Daniel Ziegenberg
2025-03-16 21:42:28 +01:00
parent 8f89677192
commit c03ec92852
18 changed files with 135 additions and 68 deletions
@@ -190,6 +190,9 @@ class HTMLPurifier_ChildDef_Table extends HTMLPurifier_ChildDef
$current_tr_tbody = null;
foreach($content as $node) {
if (!isset($node->name)) {
continue;
}
switch ($node->name) {
case 'tbody':
$current_tr_tbody = null;