MDL-74823 lib: HTMLPurifier upgrade to 4.14.0

Signed-off-by: Daniel Ziegenberg <[email protected]>
This commit is contained in:
Daniel Ziegenberg
2022-11-29 16:39:22 +08:00
committed by Andrew Nicols
parent 4d9c6785ff
commit 60e176b50d
12 changed files with 40 additions and 18 deletions
@@ -164,7 +164,7 @@ class HTMLPurifier_ChildDef_Table extends HTMLPurifier_ChildDef
}
}
if (empty($content)) {
if (empty($content) && $thead === false && $tfoot === false) {
return false;
}