JS实现HTML标签转义及反转义function HTMLEncode(html) { var temp = document.createElement("div") (temp.textContent != null) ?2023-02-18html-css420