diff --git a/boot/boot.js b/boot/boot.js index 9310e464b..7a0770021 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -201,7 +201,7 @@ $tw.utils.deepDefaults = function(object /*, sourceObjectList */) { Convert "&" to &, " " to nbsp, "<" to <, ">" to > and """ to " */ $tw.utils.htmlDecode = function(s) { - return s.toString().replace(/</mg,"<").replace(/ /mg,"\x40").replace(/>/mg,">").replace(/"/mg,"\"").replace(/&/mg,"&"); + return s.toString().replace(/</mg,"<").replace(/ /mg,"\xA0").replace(/>/mg,">").replace(/"/mg,"\"").replace(/&/mg,"&"); }; /*