jQuery两句话实现HTML转义与反转义 内容纲要 $('<div>').text('<a>').html() 结果:<a> $('<div>').html('<a>').text() 结果:<a> ×用微信扫描并分享