We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c10b58 commit 48fdfc0Copy full SHA for 48fdfc0
react_render/django/render.py
@@ -33,7 +33,7 @@ def __unicode__(self):
33
def render_props(self):
34
if self.props:
35
encoded = escapejs(self.json_encoder(self.props))
36
- return mark_safe('JSON.parse("{0}")'.format(encoded))
+ return mark_safe("JSON.parse('{0}')".format(encoded))
37
return '{}'
38
39
0 commit comments