trimwhitespace plugin updated
| From: | Monte Ohrt | Date: | Wed, 01 May 2002 15:06:19 +0000 |
| Subject: | trimwhitespace plugin updated | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3951@lists.php.net to get a copy of this message | ||
FYI, the trimwhitespace plugin has been moved from a postfilter to an outputfilter. This should now work as expected, on the template output at runtime instead of the source at compile time. You must now load the filter in your application to make it take affect.
$smarty->load_filter('output','trimwhitespace');
$smarty->display('index.tpl');
http://www.phpinsider.com/php/code/Smarty/contribs/plugins/
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.