mirror of
https://github.com/django/django.git
synced 2025-11-18 02:56:45 +00:00
Added test cases + fixed C1 error
This commit is contained in:
parent
84d97beebe
commit
89a0a90f2d
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ _js_escapes = {
|
|||
|
||||
# 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(range(0x80, 0xA0)))
|
||||
_js_escapes.update((ord("%c" % z), "\\u%04X" % z) for z in range(0x80, 0xA0))
|
||||
|
||||
|
||||
@keep_lazy(SafeString)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue