On Sat, Dec 27, 2008 at 10:47 AM, Marcelo Andrade <mfandr...@gmail.com> wrote: > On Sat, Dec 27, 2008 at 12:43 PM, Bernardo Vieira > <bvieira.li...@gmail.com> wrote: >> >> gearvOsh wrote: >>> In CakePHP you can "choose" the Doctypes of XHTML or HTML but the >>> taglist is all XHTML, which then causes markup errors. >>> >> gearvOsh, >> It shouldn't be too much of hassle to create a html4 helper based on >> the existing html helper. If you create your helper extending the >> existing html helper, basically all you'd have to do is copy/paste the >> tags array (lines 45-98 in 1.2 final) into your newly created class and >> change as necessary. > > As a suggestion for the developers, maybe a better > approach was to have some flag in the config that > tells the doctype compliance mode (strict, transition > for html 4.01 and xhtml 1.0).
That's going to be an arbitrary performance hit. I recently saw some not too CakePHP friendly benchmarks. I don't think that would help. -- Fedora 9 : sulphur is good for the skin ( www.pembo13.com ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---