Re[2]: [SMARTY] reserved brackets
| From: | Linus McCabe | Date: | Mon, 06 Jan 2003 19:54:20 +0000 |
| Subject: | Re[2]: [SMARTY] reserved brackets | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7042@lists.php.net to get a copy of this message | ||
> > {$myvar|replace:'somehing':'<DIV STYLE="{font-size:
--------------------------------------------^
Are these brackets really necessary?
/l
> 8px}">something</DIV>'}
> >
> > This won't work, because I'm using Smarty's reserved brackets
> > in the expression - but these are necessary also when writing
> > stylesheets and stuff ... and in the case of needing to use
> > the brackets inside an expression, you can't use {literal}
> >
> > Any ideas??
> >