{ldelim},{rdelim} {ldelim} and {rdelim} are used for escaping template delimiters, by default "{" or "}". You can also use {literal}{/literal} to escape blocks of text. See also {$smarty.ldelim}. {ldelim}, {rdelim} The above example will output: Another example with some javascript function foo() {ldelim} ... code ... {rdelim} ]]> will output function foo() { .... code ... } ]]> See also Escaping Smarty Parsing