diff --git a/django/utils/html.py b/django/utils/html.py index e15b2b2233..9b1c659a01 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -76,7 +76,7 @@ _js_escapes = { ord("\u2029"): "\\u2029", } -# Escape every ASCII character with a value less than 32 (C0) && 127-159(C1) +# Escape every ASCII character with a value less than 32 (C0) && 127-159(C1). _js_escapes.update((ord("%c" % z), "\\u%04X" % z) for z in range(32)) _js_escapes.update((ord("%c" % z), "\\u%04X" % z) for z in range(0x80, 0xA0))