ZF-8707: Zend_Dojo_Form_Element_Editor returns Array when using some browsers


When I use a Zend_Dojo_Form_Element_Editor in a form, the returned value is an array with some browsers.

For instance, $form->getValues() will return the following when I use Safari (4.0.4 Mac): array ( 'last_name' => 'Doe', 'content' => array ( 'Editor' => 'some text', ), ... )

But with Firefox 3.5.6, the following is returned: array ( 'last_name' => 'Doe, 'content' => 'some text
', ... ),

According to a quick search on Nabble, it may occur with older version of IE. (See http://n4.nabble.com/Zend-Dojo-Form-Element-Editor…)


The array issue is not present in Safari 5 or in IE7+, atleast I could not reproduce it, firefox still occasionally outputs the
, see issue ZF-10516