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).

--
MARCELO DE F. ANDRADE (aka "eleKtron")
Belem, PA, Amazonia, Brazil
Linux User #221105

[...@parĂ¡ ~]# links http://pa.slackwarebrasil.org/

For Libby's backstory be told on Lost
http://www.petitiononline.com/libby423/petition.html

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to