Here you can find the source of escapeHTML()
String.prototype.escapeHTML = function () { return ('' + this).replace(/&/g, '&').replace(/</g, '<').replace(/"/g, '"'); }; // Str.escapeHTML();
String.prototype.escapeHTML = function () { return(this.replace(/&/g,'&').replace(/>/g,'>').replace(/</g,'<').replace(/"/g,'"')); };
var __entityMap = { "&": "&", "<": "<", ">": ">", '"': '"', "'": ''', "/": '/' }; String.prototype.escapeHTML = function() { ...
String.prototype.escapeHTML = function() { return this.replace(/</g,'<').replace(/>/g, '>'); };
String.prototype.escapeHTML = function() { return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); };
var __entityMap = { "&": "&", "<": "<", ">": ">", '"': '"', "'": ''', "/": '/' }; String.prototype.escapeHTML = function() { ...
String.prototype.escapeHtml = function() { return this .replace(/&/g, '&') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/</g, '<') .replace(/>/g, '>'); };
var entityMap = { '&': '&', '<': '<', '>': '>', '"': '"', "'": ''', '/': '/' }; String.prototype.escapeHtml = function() { ...
String.prototype.escapeHtml = String.prototype.escapeHtml || (String.prototype.escapeHtml = function() { return this.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"); });
String.prototype.escape_html = function() { return this.replace(/&/g, "&") .replace(/</g, "<") .replace(/>/g, ">") .replace(/"/g, """);