Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Autoescape uses true/false, not off/on
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Sep 5, 2012
1 parent bdd15de commit d01e4c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tags.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ For the following contexts, assume:


So the following: So the following:


{% autoescape off %} {% autoescape false %}
{{ some_html_output }} {{ some_html_output }}
{% endautoescape %} {% endautoescape %}


{% autoescape on %} {% autoescape true %}
{{ some_html_output }} {{ some_html_output }}
{% endautoescape %} {% endautoescape %}


{% autoescape on "js" %} {% autoescape true "js" %}
{{ some_html_output }} {{ some_html_output }}
{% endautoescape %} {% endautoescape %}


Expand Down

0 comments on commit d01e4c2

Please sign in to comment.