cvs: smarty /docs/en/designers/language-modifiers language-modifier-escape.xml
[email protected] ("Peter 'Mash' Morgan") Tue, 28 Mar 2006 00:16:33 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvspete_morgan1143504993@cvsserver> |
pete_morgan Tue Mar 28 00:16:33 2006 UTC
Modified files:
/smarty/docs/en/designers/language-modifiers
language-modifier-escape.xml
Log:
tweek
http://cvs.php.net/viewcvs.cgi/smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml?r1=1.11&r2=1.12&diff_format=u
Index: smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml
diff -u smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.11 smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.12
--- smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml:1.11 Mon Mar 27 23:58:23 2006
+++ smarty/docs/en/designers/language-modifiers/language-modifier-escape.xml Tue Mar 28 00:16:33 2006
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<sect1 id="language.modifier.escape">
<title>escape</title>
<para>
- This is used to encode/escape and a variable to html url single quotes, hex escape, hexentity, javascript and mail escape.
+ This is used to encode/escape a variable to html url single quotes, hex escape, hexentity, javascript and mail escape.
By default its html
escaped.
</para>
@@ -74,6 +74,7 @@
{$articleTitle|escape:'quotes'}
<a href="mailto:{$EmailAddress|escape:"hex"}">{$EmailAddress|escape:"hexentity"}</a>
{$EmailAddress|escape:'mail'} {* this converts to email to text *}
+{'[email protected]'|escape:'mail'}
]]>
</programlisting>
<para>
@@ -89,6 +90,7 @@
\'Stiff Opposition Expected to Casketless Funeral Plan\'
<a href="mailto:%62%6f%..snip..%65%74">bob..snip..et</a>
smarty [AT] example [DOT] com
+mail [AT] example [DOT] com
]]>
</screen>
<para>Note that native PHP functions can be used as modifiers so this will work</para>