Enclosed Value
' => 'Enclosed Value
',
'' => '',
'' => '',
'/bodu>/body>' => '/bodu>/body>'
);
foreach($invalid as $input => $expected) {
$value->setContent($input);
$this->assertEquals($expected, $value->getContent(), 'Invalid HTML can be saved');
}
}
public function testInvalidHTMLTagNames() {
$value = new SS_HTMLValue();
$invalid = array (
'',
'