diff --git a/docs/en/designers/language-modifiers/language-modifier-escape.xml b/docs/en/designers/language-modifiers/language-modifier-escape.xml index 9acc1a10..26a05ae4 100644 --- a/docs/en/designers/language-modifiers/language-modifier-escape.xml +++ b/docs/en/designers/language-modifiers/language-modifier-escape.xml @@ -32,7 +32,7 @@ 1 string No - html,htmlall,url,urlpathinfo,quotes,hex,hexentity,javascript + html,htmlall,url,urlpathinfo,quotes,hex,hexentity,javascript,mail html This is the escape format to use. @@ -58,7 +58,7 @@ $smarty->assign('articleTitle', "'Stiff Opposition Expected to Casketless Funeral Plan'" ); - +$smarty->assign('EmailAddress','smarty@example.com'); ?> ]]> @@ -74,6 +74,7 @@ $smarty->assign('articleTitle', {$articleTitle|escape:"url"} {$articleTitle|escape:"quotes"} {$EmailAddress|escape:"hexentity"} +{$EmailAddress|escape:'mail'} ]]> @@ -88,6 +89,7 @@ $smarty->assign('articleTitle', %27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27 \'Stiff Opposition Expected to Casketless Funeral Plan\' bob..snip..et +smarty [AT] example [DOT] com ]]> Remember that native PHP functions can be used as modifiers so this will work