Javascript String escape_html()
html()
String.prototype.escape_html = function() { return this.replace(/&/g, "&") .replace(/</g, "<") .replace(/>/g, ">") .replace(/"/g, """); }