summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-18 09:50:12 +0000
committerthomascube <thomas@roundcube.net>2009-05-18 09:50:12 +0000
commit37586429a92b1f2755cc888ab742ca6bbdf51a41 (patch)
treee37bfd252d2289221d054e186fd84d6a1c66e963 /program/js
parentcc49581e82387e12162a09150fe246fcd7635d6e (diff)
Apply googiespell fix from trunkv0.3-beta@2799
Diffstat (limited to 'program/js')
-rw-r--r--program/js/googiespell.js2
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) {