Re: [SMARTY] Why won't this work?
| From: | Monte Ohrt | Date: | Thu, 30 Jan 2003 16:13:04 +0000 |
| Subject: | Re: [SMARTY] Why won't this work? | ||
| References: | 1 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-653@lists.php.net to get a copy of this message | ||
This is a known issue, and a fix has been committed to CVS.
The behavior of SMARTY_PHP_REMOVE has been altered though, it only
removes the PHP tags themselves and not everything between them. If this
is an issue for anyone let me know.
Now you can put anything in the templates and it should parse correctly,
even recursive syntax such as:
<?php echo '<?php echo "blah"; ?>'; ?>
Monte
On Thu, 2003-01-30 at 08:49, philippe.morange@ca-indosuez.com wrote:
> If I want to use Smarty to generate XML content, I'll have this in my template:
> <?xml somestuff="{$var}" ?>
>
> But it generates a parse error.
> This is wrong, as it should work the above line should work...
--
Monte Ohrt <monte@ispi.net>