摘要: var decodeHTML = function (html) { var txt = document.createElement('textarea'); txt.innerHTML = html; return txt.value; }; // Example // Returns "<p> 阅读全文
posted @ 2022-02-14 19:15 刘俊涛的博客 阅读(401) 评论(0) 推荐(0)