Re: [SMARTY] Problem with unregister_outputfilter
| From: | Monte Ohrt | Date: | Mon, 22 Jul 2002 14:26:21 +0000 |
| Subject: | Re: [SMARTY] Problem with unregister_outputfilter | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5379@lists.php.net to get a copy of this message | ||
I tested this:
$smarty->load_filter('output','trimwhitespace');
$smarty->unregister_outputfilter('trimwhitespace');
$smarty->display('index.tpl');
This works fine, the output filter does not get applied to the template.
Monte
Bertrand DUNOGIER wrote:
MO> How is the output filter getting registered in the first place? $tpl->load_filter('output', 'trimwhitespace'); MO> What Smarty version are you using?* Version: 2.2.0Bertrand