ZF-2958: Zend_View_Helper_FormElement::_hidden() behaves inconsistently with doctype


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.


Please categorize/fix as needed.

Matthew, send this back if it ends up being a Doctype issue.


Scheduling for next mini release.

Resolved in trunk and release 1.5 branch by r9324