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

Autoescape uses true/false, not off/on #112

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/tags.md
Expand Up @@ -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 %}

Expand Down