Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-05-17 08:22:12
- mmelon
- Member
- Registered: 2006-03-02
- Posts: 95
source code formatting
Hi,
does anyone have any solutions for source code formatting the php output before delivering to the client?
It would be cool if I could strip out html comments, trim whitespace and just generally tidy up and format the code so that it looks nice in the source code view.
Any ideas?
Mike
Offline
Offline
Re: source code formatting
Google’s mod_pagespeed apache module can do that. You need to have access to your web server in order to use it, and of course it needs to be running on Apache.
Offline
Pages: 1