mirror of
https://github.com/jquery/jquery.git
synced 2026-02-13 01:25:04 -05:00
Fixed the case where HTML that contained entities was being inserted as text strings instead of HTML. Thanks to dmethvin for the test case! Fixes #5483.
This commit is contained in:
@@ -4,7 +4,7 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
||||
rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i,
|
||||
rtagName = /<([\w:]+)/,
|
||||
rtbody = /<tbody/i,
|
||||
rhtml = /</,
|
||||
rhtml = /<|&\w+;/,
|
||||
fcloseTag = function(all, front, tag){
|
||||
return rselfClosing.test(tag) ?
|
||||
all :
|
||||
|
||||
Reference in New Issue
Block a user