diff options
author | thomascube <thomas@roundcube.net> | 2009-05-18 08:12:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-05-18 08:12:42 +0000 |
commit | aee46019070db56f3a83a1aba10f9c3576df36f7 (patch) | |
tree | b40b34a9f0f1e5a1174afa6f874960b42ee9776b /program | |
parent | 55f54e2b9f1b20cfc2a5bbe13d2bd8b62449f022 (diff) |
Fix Googiespell
Diffstat (limited to 'program')
-rw-r--r-- | program/js/googiespell.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/googiespell.js b/program/js/googiespell.js index 7b698ec82..dc26c4503 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -361,7 +361,7 @@ this.createListSeparator = function() { this.correctError = function(id, elm, l_elm, rm_pre_space) { var old_value = elm.innerHTML; - var new_value = l_elm.innerHTML; + var new_value = l_elm.nodeType == 3 ? l_elm.nodeValue : l_elm.innerHTML; var offset = this.results[id]['attrs']['o']; if (rm_pre_space) { |