function EntityToString(value) { let Tag = document.createElement("div"); Tag.innerHTML = value; let strCode = Tag.innerText || Tag.textContent; Tag = null; return strCode; }
html实体字符转换成字符串
猜你喜欢
转载自www.cnblogs.com/gionlee/p/12069126.html
今日推荐
周排行