Hi Wayne,

I agree that this is a low-priority requirement, but it is very useful
for development.
I am aware of several ways of tidying HTML both at server side or
client side.
But it doesn't look nice that cake's HTML generator generates such
untidy output.
If it has to generate HTML, let it generate a tidy one. Or maybe the
tidying can be on only if the DEBUG is on.

I have submitted it on trac : Ticket #3414

regards,
Rex

On Oct 19, 10:08 am, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> If you file a bug, perhaps someone in the Cake Dev team will implement
> it. But this seems to be a low priority enhancement to me.
>
> What you're basically proposing is somehow in-lining htmltidy (or
> similar) into the HTTP response, so that all HTML output from Cake is
> formatted nicely before it is sent to the user's web browser. I can
> see this perhaps being useful in development, but wouldn't want it
> turned on in a production environment.
>
> Thinking about it some more, I recall that there is an Apache module for this 
> --http://mod-tidy.sourceforge.net/
>
> Wayne
>
> On 10/18/07, Rex <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I see that in cakephp a view output is not properly indented. This
> > makes it very difficult to debug a problem.
> > I suggest that all cakephp (HTML) output should be indented properly
> > so that when we try to view-source using mozilla, we get a
> > beatutifully formatted code which all humans can see and understand
> > clearly.
>
> > regards,
> > Rex


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to