提交的内容
This commit is contained in:
3
vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php
vendored
Executable file → Normal file
3
vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php
vendored
Executable file → Normal file
@ -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