Re: postfilter.trimwhitespace.php
| From: | Ron Dyck | Date: | Sat, 09 Mar 2002 14:12:20 +0000 |
| Subject: | Re: postfilter.trimwhitespace.php | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2992@lists.php.net to get a copy of this message | ||
Slick. This is great!
ron
----- Original Message -----
From: "Monte Ohrt" <monte@ispi.net>
To: <smarty@lists.ispi.net>
Sent: Friday, March 08, 2002 6:08 PM
Subject: [smarty] postfilter.trimwhitespace.php
> I've created a postfilter that trims out leading whitespace and blank
> lines from your page before being sent to the browser. This cleans up
> the code a bit and saves some bandwidth. It is careful not to touch
> <PRE></PRE> and <SCRIPT></SCRIPT> blocks.
>
> Just drop it into your plugin directory (remove the .txt extention) and
> view the source in your browser to see the effect.
>
> Let me know if there are any problems with it.
>
>
http://www.phpinsider.com/php/code/Smarty/contribs/plugins/postfilter.trimwh
itespace.php.txt
>
>
> --
> Monte Ohrt <monte@ispi.net>
> Director of Technology, ispi Inc.
>
> ---
> You are currently subscribed to smarty as: adam@webbtech.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>