2.3 doctype unified #735

merged 1 commit into from Jul 24, 2012


None yet
2 participants

dereuromark commented Jul 24, 2012

A while ago the HtmlHelper method docType was defaulted to HTML5 (- html5: HTML5. Default value.)
For browser related output it makes sense to update the layouts accordingly.
Right now you would get the html5 doctypes for all sites, but on errors and 404s you still get the other one - using the (baked) default templates.

I didn't change the email templates yet - but at some point this might make sense to unify to the new standard, as well. If you think it might make sense to do that right, I can add them. I don't think it would affect the outcome of html emails since the email clients do have issues with the elements used, not the doctype itself (also some clients seem to replace the doctype anyway).


markstory commented Jul 24, 2012

Its probably a good idea to not change the email template layouts. Outlook and other mail clients probably don't handle new doctypes well. Or at least I wouldn't trust them to do it properly.

markstory merged commit 88c3a04 into cakephp:2.3 Jul 24, 2012


dereuromark commented Jul 24, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment