ZF-7724: Add a XHTML5 doctype key to allow HTML 5 users show a preference for closing tags and other XHTML serialisation related differences from HTML 4


At present, the HTML5 doctype from Zend_View_Helper_Doctype renders non-closed tags in some circumstances which prevents the use of (X/)HTML5 rendering. By adding an XHTML5 doctype option, one could retain any HTML5 specific support but enforce closing all tags correctly as with any XHTML serialisation. This would allow HTML5 pass the isXhtml() test used by many components including View Helpers.


This patch adds a 'XHTML5' option to the Doctype view helper.

pretty much what sean added, but updates docs + tests

-translations -git stuff

Applied with patch to ZF-7722 -- thanks!