jq把HTML字符串转义一下 2018-07-02 本文已影响6人 Lia代码猪崽 const str = '<div><p>asdas</p></div>' $('<div/>').html(str).text()