ZF-2958: Zend_View_Helper_FormElement::_hidden() behaves inconsistently with doctype
Description
Reported by romme @ #zftalk
usually, view helpers check $this->view->doctype->isXhtml() to choose between rendering " />" or ">" as an empty tag notation. _hidden(), however, provides no such choice and always renders " />", which breaks validation.
Comments
Posted by Wil Sinclair (wil) on 2008-03-25T20:33:30.000+0000
Please categorize/fix as needed.
Posted by Ralph Schindler (ralph) on 2008-03-26T12:48:30.000+0000
Matthew, send this back if it ends up being a Doctype issue.
-ralph
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:18:09.000+0000
Scheduling for next mini release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-25T16:15:45.000+0000
Resolved in trunk and release 1.5 branch by r9324