Skip to content

Commit

Permalink
[3.2.x] Fixed #20423 -- Doc'd that DTL variable names may not be a nu…
Browse files Browse the repository at this point in the history
…mber.

Backport of 7587139 from master
  • Loading branch information
tim-mccurrach authored and felixxm committed Feb 26, 2021
1 parent 230d5b1 commit 7e6e822
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ref/templates/language.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ 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 (``"_"``) but may not start with an 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 names.*
and the underscore (``"_"``) but may not start with an underscore, and may not
be a number. 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 names.*

Use a dot (``.``) to access attributes of a variable.

Expand Down

0 comments on commit 7e6e822

Please sign in to comment.