Permalink
Browse files

Fixed insertion of non-breaking space

  • Loading branch information...
1 parent eccb203 commit 249f075a4791be76079b4df5b1e49a63272d1e2f @mireq mireq committed Nov 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 epiceditor/widgets.py
View
@@ -64,8 +64,8 @@ def render(self, name, value, attrs=None):
%(textarea)s = $('#%(id)s');
%(textarea)s.hide();
// then be sure to populate the textarea
- editor.on('update', function (file) {
- %(textarea)s.val(file.content);
+ editor.on('update', function () {
+ %(textarea)s.val(editor.exportFile());
});
// Everything is all setup, so load!

0 comments on commit 249f075

Please sign in to comment.