Skip to content

Commit a5d741a

Browse files
authored
Update renderers.py
1 parent f378f98 commit a5d741a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def render(self, data, accepted_media_type=None, renderer_context=None):
105105

106106
# We always fully escape \u2028 and \u2029 to ensure we output JSON
107107
# that is a strict javascript subset.
108-
# See: http://timelessrepo.com/json-isnt-a-javascript-subset
108+
# See: https://gist.github.com/damncabbage/623b879af56f850a6ddc
109109
ret = ret.replace('\u2028', '\\u2028').replace('\u2029', '\\u2029')
110110
return ret.encode()
111111

0 commit comments

Comments
 (0)