Re: AW: AW: [SMARTY] suggestion: don't add any CRs in compiled template

From: Date: Thu, 25 Apr 2002 13:21:05 +0000
Subject: Re: 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-3882@lists.php.net to get a copy of this message
Is anyone else having this problem? (either one), is this a windows only thing? Werner Schweizer wrote:
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
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#3882) next »