trimwhitespace outputfilter bug

From: Date: Sun, 09 Mar 2003 04:18:41 +0000
Subject: trimwhitespace outputfilter bug
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-923@lists.php.net to get a copy of this message
this is a good one:) pseudo code/explanation: .php file: $var = "$59.95 blah blah" $tmpl->load_filter('output', 'trimwhitespace'); in template: {$var}<br> <textarea>{$var}</textarea> output: $59.95 blah blah<br> <textarea>.95 blah blah</textarea> I looked at the regex, I'm lost. It's ripping away the $59. Can someone fix this? The filter is great, but not when it breaks the content :) Thanks so much, Steve

« previous php.smarty.dev (#923) next »