Re: [SMARTY] Escaping the curly braces

From: Date: Fri, 09 Aug 2002 16:29:36 +0000
Subject: Re: [SMARTY] Escaping the curly braces
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5630@lists.php.net to get a copy of this message
Hi Mark Rogers wrote:
Out of curiosity, how easy would it be to add some other form of escaping for these? Eg: {{ and }}?
I would welcome such an escape method! I too have some really dirty templates that sometimes even contain stuff like {literal}{{/literal} ... code ... {literal}}{/literal} Another solution would be to not 'barf'. If it encounters {} stuff and can't do anything with it (no plugin etc.), just leave it as it is, because Smarty would assume that it's not a tag, but a literal {}. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#5630) next »