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:
parent
449e099b97
commit
7c4144fab3
2 changed files with 8 additions and 2 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue