$('<div>').text('<a>').html() 结果:<a> $('<div>').html('<a>').text() 结果:<a> 转载于:https://www.cnblogs.com/woostundy/p/4138173.html