summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-18 08:12:42 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-18 08:12:42 +0000
commitc3f70c0445abf6fe36db63fca1bb922c70965c8f (patch)
tree1fb66fc50c70d2cddb028b0efce03eadd548eb94 /roundcubemail/program/js
parent4901a09105290f9d0ba0c2cce0ab573bbf12c007 (diff)
Fix Googiespell
git-svn-id: https://svn.roundcube.net/trunk@2500 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/googiespell.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/googiespell.js b/roundcubemail/program/js/googiespell.js
index 7b698ec82..dc26c4503 100644
--- a/roundcubemail/program/js/googiespell.js
+++ b/roundcubemail/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) {