Monday, May 27, 2019

decode encoded characters javascript

function decodeHtml(html) {
    var txt = document.createElement("textarea");
    txt.innerHTML = html;
    return txt.value;
}

No comments:

Post a Comment