1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #27900 -- Made escapejs escape backticks for use in ES6 template literals.

This commit is contained in:
Tim Graham
2017-03-04 09:04:16 -05:00
committed by GitHub
parent 711123e1cd
commit 6ae1b04fb5
2 changed files with 2 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ class TestUtilsHtml(SimpleTestCase):
'paragraph separator:\u2029and line separator:\u2028',
'paragraph separator:\\u2029and line separator:\\u2028'
),
('`', '\\u0060'),
)
for value, output in items:
with self.subTest(value=value, output=output):