Skip to content

Commit

Permalink
Ticket #184 - Fixed character encoding bug where weird characters wou…
Browse files Browse the repository at this point in the history
…ld appear in some cases on some platforms because they didnt understand no-break spaces (such as ascii)
  • Loading branch information
OscarGodson committed Sep 24, 2012
1 parent 0620fca commit 5a239dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion epiceditor/js/epiceditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@
content = content.replace(/\u00a0/g, ' ').replace(/ /g, ' ');
return self.settings.parser(content);
case 'text':
content = content.replace(/ /g, ' ');
content = content.replace(/\u00a0/g, ' ').replace(/ /g, ' ');
return content;
default:
return content;
Expand Down
Loading

0 comments on commit 5a239dd

Please sign in to comment.