diff options
author | alecpl <alec@alec.pl> | 2011-09-13 08:09:50 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-13 08:09:50 +0000 |
commit | f593222ef5d5dc3b678618593abb873f4fcd4343 (patch) | |
tree | 9c0cbf374b1b70a795a576ddf07f41b473749a3c /program/js/googiespell.js | |
parent | a7c51ac2d032e29e9599a6f64849c24eb1f7f94d (diff) |
- Applied fixes from trunk up to r5212
Diffstat (limited to 'program/js/googiespell.js')
-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 c1b04cadd..18ed6a2b2 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -193,7 +193,7 @@ this.getUrl = function() { }; this.escapeSpecial = function(val) { - return val.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"); + return val ? val.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">") : ''; }; this.createXMLReq = function (text) { |