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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user