Re: bug in _compile_compiler_tag
| From: | Andrei Zmievski | Date: | Tue, 02 Oct 2001 13:58:03 +0000 |
| Subject: | Re: bug in _compile_compiler_tag | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1595@lists.php.net to get a copy of this message | ||
Thanks, fixed.
On Tue, 02 Oct 2001, Ivo Jansch wrote:
> Hi Andrei/Monte,
>
> there's a small bug in the _compile_compiler_tag function.
>
> The last line of the file reads:
>
> return '<?php' . $function($tag_args, $this) . ' ?>';
>
> There should be a space at the end of <?php. Now the output of the
> custom compiler function must start with " " or "\n", or you'll get a
> parser error in the compiled template.
>
> Greetings,
> Ivo
>
> --
> Ivo Jansch <ivo@ibuildings.nl>
> ibuildings.nl BV - information technology
> http://www.ibuildings.nl
>
>
>
> ---
> You are currently subscribed to smarty as: andrei@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
-Andrei
"This isn't right. This isn't even wrong."
-- Wolfgang Pauli