diff --git a/lib/WebGUI/i18n/English/Asset_Template.pm b/lib/WebGUI/i18n/English/Asset_Template.pm index 9d9a5a87a..9efbcf6c6 100644 --- a/lib/WebGUI/i18n/English/Asset_Template.pm +++ b/lib/WebGUI/i18n/English/Asset_Template.pm @@ -144,6 +144,20 @@ In the examples below, please note that the words foo and bar are Example: <tmpl_var name>
+
+Escaping text
+Sometimes you would like to escape text to make it safe to use inside of XML and HTML tags or Javascript code. There
+is a built-in way to do this for variables, using the ESCAPE option inside of <tmpl_var>.
+
+Javascript safe: <tmpl_var foo ESCAPE="JS"> +
+ ++XML and HTML safe: <tmpl_var foo ESCAPE="HTML"> +
+
Conditions
To programmers conditions are nothing new, but to designers they can often be confusing at first. Conditions are really just true or false questions, and if you think of them that way, you'll have no trouble at all.