mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '4' into 5.1
This commit is contained in:
commit
5125be5a30
@ -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><tr><td>Header</td></tr></th><tbody></tbody></table>';
|
$htmlValue = '<p>standard text</p><table><th></th><tr><td>Header</td></tr><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');
|
||||||
|
Loading…
Reference in New Issue
Block a user