Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #112 from apiaryio/autoescape-documentation-fix

Autoescape uses true/false, not off/on
  • Loading branch information...
commit be8d27a35e4f14944a871934af61d5d007201ad1 2 parents bdd15de + d01e4c2
@paularmstrong authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/tags.md
View
6 docs/tags.md
@@ -173,15 +173,15 @@ For the following contexts, assume:
So the following:
- {% autoescape off %}
+ {% autoescape false %}
{{ some_html_output }}
{% endautoescape %}
- {% autoescape on %}
+ {% autoescape true %}
{{ some_html_output }}
{% endautoescape %}
- {% autoescape on "js" %}
+ {% autoescape true "js" %}
{{ some_html_output }}
{% endautoescape %}
Please sign in to comment.
Something went wrong with that request. Please try again.