diff --git a/docs/en/designers/language-builtin-functions/language-function-ldelim.xml b/docs/en/designers/language-builtin-functions/language-function-ldelim.xml index 12d6ca73..fe3f94e5 100644 --- a/docs/en/designers/language-builtin-functions/language-function-ldelim.xml +++ b/docs/en/designers/language-builtin-functions/language-function-ldelim.xml @@ -1,26 +1,33 @@ - - ldelim,rdelim - - ldelim and rdelim are used for escaping template delimiters, in our - case "{" or "}". You can also use - {literal}{/literal} to - escape blocks of text. - - -ldelim, rdelim - + + ldelim,rdelim + + ldelim and rdelim are used for escaping template delimiters, in our case + "{" or "}". You can also use {literal}{/literal} to escape + blocks of text. + + + ldelim, rdelim + + + + + The above example will output: + + + + + + - -OUTPUT: - -{funcname} is how functions look in Smarty! - - - - literal - - Literal tags allow a block of data to be taken literally. This is - typically used around javascript or stylesheet blocks where curly - braces would interfere with the template delimiter syntax. Anything - within {literal}{/literal} tags is not interpreted, but displayed - as-is. If you need template tags embedded in your literal block, - consider using - {ldelim}{rdelim} to - escape the individual delimiters instead. - - -literal tags - + + literal + + Literal tags allow a block of data to be taken literally. This is typically + used around javascript or stylesheet blocks where curly braces would + interfere with the template delimiter syntax. Anything within + {literal}{/literal} tags is not interpreted, but displayed as-is. If you + need template tags embedded in your literal block, consider using {ldelim}{rdelim} to escape the + individual delimiters instead. + + + literal tags + + - <!-- + + + +{/literal} +]]> + + + - </script> -{/literal} - -