3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1077 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.
| 1077 Views | ||
|
Page:
1
|
Go to Top |

