Permalink
Browse files

Changed a documentation example that wasn't wrong to stop complaints.

Fixed #7544.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8cb128e commit a75de3f3429654271ab63fddab1a8b13440a00de @malcolmt malcolmt committed Jul 1, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/templates.txt
View
@@ -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

0 comments on commit a75de3f

Please sign in to comment.