2985 Posts in 761 Topics by 740 members
Template Questions
SilverStripe Forums » Template Questions » PHP Tidy before sending the Output
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 896 Views |
-
PHP Tidy before sending the Output

2 April 2010 at 12:07am Last edited: 2 April 2010 12:07am
Hiho,
one short question. How can i parse/render/cleanup the complete output before Silverstripe sends to Client/Browser?
For Example, i want to cleanup the generated HTML with PHP Tidy.
Regards from Germany,
Stefan
-
Re: PHP Tidy before sending the Output

3 April 2010 at 11:36am
I guess you have to modify ssviewer.. but why do you need tidy? 95% of your html lives in static template files - it will be very inefficient to parse and tidy the same responses when you could just fix your templates.
| 896 Views | ||
|
Page:
1
|
Go to Top |

