Skip to content

Commit 48fdfc0

Browse files
committed
Switch to single quotes
1 parent 9c10b58 commit 48fdfc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react_render/django/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __unicode__(self):
3333
def render_props(self):
3434
if self.props:
3535
encoded = escapejs(self.json_encoder(self.props))
36-
return mark_safe('JSON.parse("{0}")'.format(encoded))
36+
return mark_safe("JSON.parse('{0}')".format(encoded))
3737
return '{}'
3838

3939

0 commit comments

Comments
 (0)