Skip to content

Commit

Permalink
Merge 8ab51aa into 2a5ad56
Browse files Browse the repository at this point in the history
  • Loading branch information
tidenhub committed Sep 13, 2016
2 parents 2a5ad56 + 8ab51aa commit fbf8043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinymce/widgets.py
Expand Up @@ -71,7 +71,7 @@ def get_mce_json(self, mce_config):
mce_json = json.dumps(mce_config)
for k in js_functions:
index = mce_json.rfind('}')
mce_json = mce_json[:index] + ', ' + k + ':' + js_functions[k].strip() + mce_json[index:]
mce_json = mce_json[:index] + ', \"' + k + '\":\"' + js_functions[k].strip() + '\"' + mce_json[index:]
return mce_json

def render(self, name, value, attrs=None):
Expand Down

0 comments on commit fbf8043

Please sign in to comment.