-- Stefan Sturm <[EMAIL PROTECTED]> wrote
(on Friday, 11 July 2008, 08:51 AM +0200):
> another Question related to Zend_Form and Decorators :-)
> 
> I want to simply add an <br /> after an Element.
> I use this Decorator:
> 
> public $elementDecorators = array(
>       'ViewHelper',
>       'Errors',
>       array( 'Label', array('class' => 'left' ) ),
>       array( 'HtmlTag', array( 'tag' => 'br', 'placement' => 'append' ) ),
> );
> 
> But this appends <br></br> to my Element :-(
> 
> Where is my Error?

No error, just a limitation of the HtmlTag helper; it does not
distinguish between tags requiring a closing tag and those that do not.

If you want such support, please file an issue in the tracker.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to