diff --git a/django/utils/text.py b/django/utils/text.py index d277cee56b4..9e0afad47b5 100644 --- a/django/utils/text.py +++ b/django/utils/text.py @@ -343,7 +343,7 @@ def javascript_quote(s, quote_double_quotes=False): s = s.replace('alert('Hello \\xff.\n Wel𝕃come\there\r');" + output = r"