I'm trying to implement HTML Tidy into my project using the code at: http://bakery.cakephp.org/articles/view/getting-tidy
I had to modify it a little to get it to work with 1.2 but I'm now having a new problem. The problem is that when a JSON page is requested on my site, Tidy is wrapping the JSON data in basic HTML page tags. How would I go about not having it do this? All I would really like Tidy to do is properly indent my source. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---