Javascript String escaped()
escaped()
String.prototype.escaped = function () { return this.replace(/&/gim, "&").replace(/</gim, "<").replace(/>/gim, ">").replace(/"/gim, """).replace(/'/gim, "'"); }