diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 7172bfc3f2..cdb214c830 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1643,7 +1643,7 @@ For example:: {{ value|escapejs }} -If ``value`` is ``"testing\r\njavascript \'string" escaping"``, +If ``value`` is ``"testing\r\njavascript 'string\" escaping"``, the output will be ``"testing\\u000D\\u000Ajavascript \\u0027string\\u0022 \\u003Cb\\u003Eescaping\\u003C/b\\u003E"``. .. templatefilter:: filesizeformat