diff options
Diffstat (limited to 'program/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 6101fd2ea..7f465687c 100644 --- a/program/js/googiespell.js +++ b/program/js/googiespell.js @@ -211,7 +211,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) |