Make sure that &#...; entities are encoded properly. Fixes #6042.
This commit is contained in:
parent
54bd004e53
commit
d743899971
2 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
|||
rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
|
||||
rtagName = /<([\w:]+)/,
|
||||
rtbody = /<tbody/i,
|
||||
rhtml = /<|&\w+;/,
|
||||
rhtml = /<|&#?\w+;/,
|
||||
rnocache = /<script|<object|<embed/i,
|
||||
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, // checked="checked" or checked (html5)
|
||||
fcloseTag = function( all, front, tag ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue