Merge branch '5.1' into 5

This commit is contained in:
github-actions 2023-11-02 20:08:55 +00:00
commit 92866d9326

View File

@ -255,7 +255,7 @@ EOS
$editor->setEditorConfig($restrictedConfig); $editor->setEditorConfig($restrictedConfig);
$expectedHtmlString = '<p>standard text</p>Header'; $expectedHtmlString = '<p>standard text</p>Header';
$htmlValue = '<p>standard text</p><table><th></th><tr><td>Header</td></tr><tbody></tbody></table>'; $htmlValue = '<p>standard text</p><table><tbody><tr><th></th></tr><tr><td>Header</td></tr></tbody><tbody></tbody></table>';
$editor->setValue($htmlValue); $editor->setValue($htmlValue);
$editor->saveInto($obj); $editor->saveInto($obj);
$this->assertEquals($expectedHtmlString, $obj->Content, 'Table is not removed'); $this->assertEquals($expectedHtmlString, $obj->Content, 'Table is not removed');