Re: [SMARTY] Displaying "{" and "}" in a smarty template
| From: | Mark Leavy | Date: | Fri, 19 Apr 2002 11:47:25 +0000 |
| Subject: | Re: [SMARTY] Displaying "{" and "}" in a smarty template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3810@lists.php.net to get a copy of this message | ||
{literal}
foo bar { foo }}
{/literal}
On Friday 19 April 2002 12:41 pm, Trond Arve Nordheim wrote:
> Hi.
>
> I was writing a smarty template containing a URL with the two characters
> "{" and "}" in it. Smarty interpreted these as variables/functions, and
> returned an error. I've been trying to escape these curly brackets, but
> I can't find anything that works.
>
> Is it at all possible to display these two characters from a
> smarty-template, since they're used in the smarty template language?