Re: [SMARTY] Escape the '{'?
| From: | Bertrand DUNOGIER | Date: | Sat, 16 Nov 2002 11:02:44 +0000 |
| Subject: | Re: [SMARTY] Escape the '{'? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6444@lists.php.net to get a copy of this message | ||
R> Okay, finally trying to do some real work with Smarty. I can't find
R> anything the manual about how to escape out the Smarty '{' and '}'
R> in templates (like when doing CSS commands). I know you can change
R> those characters, but how do you just escape out the occasional
R> one?
R> I tried backslashing them out, and doubling up on them. But,
R> neither seemed to work.
I just use the {literal} {/literal} tag. For almost all my
stylesheets, i use an external file, so i don't have that problem.
Bertrand