Browse files

Documented the permitted syntax for template variable names.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3d99526 commit 783656cf5ba0e38fb0bf915019e6a720d47a9baf @malcolmt malcolmt committed Sep 13, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/topics/templates.txt
@@ -79,7 +79,11 @@ Variables
Variables look like this: ``{{ variable }}``. When the template engine
encounters a variable, it evaluates that variable and replaces it with the
+result. Variable names consist of any combination of alphanumeric characters
+and the underscore (``"_"``). The dot (``"."``) also appears in variable
+sections, although that has a special meaning, as indicated below.
+Importantly, *you cannot have spaces or punctuation characters in variable
Use a dot (``.``) to access attributes of a variable.

0 comments on commit 783656c

Please sign in to comment.