Browse Source

Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe.

Tim Graham 7 years ago
parent
commit
f229049d6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/ref/templates/builtins.txt

+ 2 - 2
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::