Re: Strip outgoing whitespace in html
| From: | Christopher J. Bottaro | Date: | Mon, 26 Jun 2006 16:14:02 +0000 |
| Subject: | Re: Strip outgoing whitespace in html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238642@lists.php.net to get a copy of this message | ||
Opps, we just found mod_tidy. :)
Christopher J. Bottaro wrote:
> I'm wondering if there's a convenient way to globally add a final step for
> apache w/php that will remove unnecessary whitespace from text/html before
> it gets sent to the client. Some sort of global config like thing would be
> ideal. For what it's worth we're using the smarty template engine too, but
> I suppose I'd prefer a solution that doesn't depend on it. Maybe something
> like another AddHandler?
>