AW: AW: [SMARTY] suggestion: don't add any CRs in compiled template
| From: | Werner Schweizer | Date: | Thu, 25 Apr 2002 19:47:26 +0000 |
| Subject: | AW: AW: [SMARTY] suggestion: don't add any CRs in compiled template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3888@lists.php.net to get a copy of this message | ||
Monte,
I finaly got it running.
And no, the CVS-Version doesn't eat white space anymore.
Werner
> -----Ursprüngliche Nachricht-----
> Von: Werner Schweizer [mailto:W.Schweizer@swissonline.ch]
> Gesendet: Mittwoch, 24. April 2002 23:42
> An: smarty-general@lists.php.net
> Betreff: AW: AW: [SMARTY] suggestion: don't add any CRs in
> compiled template
>
>
> I tried to test it.
> But I'm not able to run the CVS-Version.
> The error I get is:
>
> Warning: Failed opening 'templates_c\192\1926952680\0.php'
> for inclusion
> (include_path='c:\php4\pear') in
> c:\inetpub\wwwroot\Smarty\Smarty-2.0.1b\Smarty.class.php on line 643
>
> but the file is there and the program is running with 2.0.1
>
> Werner
>
> > -----Ursprüngliche Nachricht-----
> > Von: Monte Ohrt [mailto:monte@ispi.net]
> > Gesendet: Mittwoch, 24. April 2002 18:55
> > An: Werner Schweizer
> > Cc: smarty-general@lists.php.net
> > Betreff: Re: AW: [SMARTY] suggestion: don't add any CRs in
> > compiled template
> >
> >
> > Werner,
> >
> > I'm not seeing this same problem. Could you try the CVS
> > version and see
> > if you get the same results?
> >
> > Monte
> >
> > Werner Schweizer wrote:
> > > I found that smarty 2.0.1 eats a space or newline character if a
> > > variable is followed by regular text:
> > >
> > > Text1 {$var1} text2
> > > Text3 {$var2}
> > > Text4
> > >
> > > output as
> > >
> > > Text1 var1text2
> > > Text3 var2Text4
> > >
> > > Werner
> > >
> > >
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>