Re: [SMARTY] strip tabs?
| From: | Werner | Date: | Tue, 05 Apr 2005 08:22:00 +0000 |
| Subject: | Re: [SMARTY] strip tabs? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12403@lists.php.net to get a copy of this message | ||
Hi!
You can use an output filter. I use it all the time, to keep source code
nice and neat. A good example is
http://smarty.php.net/contribs/plugins/view.php/outputfilter.trimwhitespace.php
but you can make your own custom filter very easily.
Cheers,
Werner
D_C wrote:
>is there a way to change the smarty Strip behaviour to also remove tab indents?
>
>tx,
>
>
>