summaryrefslogtreecommitdiff
path: root/docs/templates.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates.txt')
-rw-r--r--docs/templates.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 3a557c1476..04a46580c5 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -477,11 +477,11 @@ escaped when the template is written.
This means you would write ::
- {{ data|default:"3 > 2" }}
+ {{ data|default:"3 < 2" }}
...rather than ::
- {{ data|default:"3 > 2" }} <-- Bad! Don't do this.
+ {{ data|default:"3 < 2" }} <-- Bad! Don't do this.
This doesn't affect what happens to data coming from the variable itself.
The variable's contents are still automatically escaped, if necessary, because