Skip to content

Commit

Permalink
Ticket #184 - Fixed importing content where it wasn't readding the no…
Browse files Browse the repository at this point in the history
…-break space in chrome which is a unicode character \u00a0. Firefox was fine because we already were replacing spaces with  s
  • Loading branch information
OscarGodson committed Sep 30, 2012
1 parent aae6cdc commit c680e28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions epiceditor/js/epiceditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@

function _setText(el, content) {
if (document.body.innerText) {
content = content.replace(/ /g, '\u00a0');
el.innerText = content;
}
else {
Expand Down
Loading

0 comments on commit c680e28

Please sign in to comment.