$('<div>').text('<a>').html()
结果:&lt;a&gt; $('<div>').html('&lt;a&gt;').text()
结果:<a>
04-17 00:08