export function unescape(html) {
return html
.replace(html ? /&(?!#?\w+;)/g : /&/g, '')
.replace(/</g, "<")
.replace(/>/g, ">")
.replace(/"/g, "\"")
.replace(/'/g, "\'")
.replace(/nbsp;/g,"\u00a0")
.replace(/&/g,"")
}
export function unescapeHtml(html) {
return html
.replace(html ? /&(?!#?\w+;)/g : /&/g, '')
.replace(/</g, "<")
.replace(/>/g, ">")
.replace(/"/g, "\"")
.replace(/'/g, "\'")
.replace(/nbsp;/g,"\u00a0")
.replace(/&/g,"")
}