summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-01-27 09:40:55 -0500
committerGitHub <noreply@github.com>2018-01-27 09:40:55 -0500
commitf229049d6cd186025f4033dc47608b0c9731e882 (patch)
tree3ed7ef693ba47c1f6fda56a812786b470021e975 /docs/ref/templates
parent3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986 (diff)
Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe.
Diffstat (limited to 'docs/ref/templates')
-rw-r--r--docs/ref/templates/builtins.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 6f37b04320..634adf42e3 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1618,8 +1618,8 @@ For example, you can apply ``escape`` to fields when :ttag:`autoescape` is off::
------------
Escapes characters for use in JavaScript strings. This does *not* make the
-string safe for use in HTML, but does protect you from syntax errors when using
-templates to generate JavaScript/JSON.
+string safe for use in HTML or JavaScript template literals, but does protect
+you from syntax errors when using templates to generate JavaScript/JSON.
For example::