I am pretty sure that the suggest fix for _hesc doesn't work.....
I think this is a working solution:
function _hesc(str) {
str = str.replace(/</g, "<");
str = str.replace(/>/g, ">");
str = str.replace(/"/g, """).replace(/'/g, "'");
return str;
}
Hope this helps
Steve
--
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en.