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
Description
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.
Comments
Posted by Sean (lavis88) on 2009-09-12T19:14:34.000+0000
This patch adds a 'XHTML5' option to the Doctype view helper.
Posted by Andy Fowler (andyfowler) on 2009-12-17T09:23:39.000+0000
pretty much what sean added, but updates docs + tests
Posted by Andy Fowler (andyfowler) on 2009-12-17T09:42:49.000+0000
-translations -git stuff
Posted by Matthew Weier O'Phinney (matthew) on 2009-12-18T14:04:54.000+0000
Applied with patch to ZF-7722 -- thanks!