Re: [SMARTY-DEV] trimwhitespace outputfilter bug
| From: | messju mohr | Date: | Sun, 09 Mar 2003 07:51:32 +0000 |
| Subject: | Re: [SMARTY-DEV] trimwhitespace outputfilter bug | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-926@lists.php.net to get a copy of this message | ||
On Sat, Mar 08, 2003 at 11:37:08PM -0800, Steve wrote:
> It is when the textarea is in a table <td> tag
i also checked that. everything's fine here. something else seems to
be screwed in your setup.
> -----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
>
>
> --
> Smarty Development Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
It is essential that implementations by different vendors interoperate.:
Unsere proprietären Basteleien dokumentieren wir gar nicht erst.
Sven Türpe