ZF-9168: Zend Form Element Captcha Decorator


When decorating the Zend_Captcha Form element, I use this: $this->captcha->setDecorators( array( 'Captcha', 'Description', 'Errors', array(array('data'=>'HtmlTag'), array('tag' => 'td')), array('Label', array('tag' => 'td')), array(array('row'=>'HtmlTag'),array('tag'=>'tr')) ));

The problem: the first TD HtmlTag element gets replaced by the last TR HtmlTag (after rendering). I have checked this, by removing the last decorator (the TR HtmlTag)


Not sure how to do this right, reassigning.

ZF-5867 is similar in that the opener is aiming for a table using Decorators as well.

Fixed in r22464 and merged into 1.10 release branch