RE: [SMARTY-DEV] trimwhitespace outputfilter bug

From: Date: Sun, 09 Mar 2003 07:37:08 +0000
Subject: RE: [SMARTY-DEV] trimwhitespace outputfilter bug
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-925@lists.php.net to get a copy of this message
It is when the textarea is in a table <td> tag -----Original Message----- From: messju mohr [mailto:messju@lammfellpuschen.de] Sent: Saturday, March 08, 2003 11:18 PM To: Steve Cc: smarty-dev@lists.php.net Subject: Re: [SMARTY-DEV] trimwhitespace outputfilter bug On Sat, Mar 08, 2003 at 08:18:41PM -0800, Steve wrote: > this is a good one:) > > pseudo code/explanation: > .php file: > $var = "$59.95 blah blah" you mean $tmpl->assign('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 :) it works fine for me with 2.4.2 and 2.5.0-RC1. > Thanks so much, > > Steve -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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