diff options
author | jeresig <jeresig@gmail.com> | 2010-02-05 19:58:08 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-02-05 19:58:08 -0500 |
commit | d74389997106b02cf513f573a0d7197ecc511514 (patch) | |
tree | af81414f7c48adf3eec255b71ec35021187df66e /src/manipulation.js | |
parent | 54bd004e53b4d89e9e7e7533f11c23ff99f70d73 (diff) | |
download | jquery-d74389997106b02cf513f573a0d7197ecc511514.tar.gz jquery-d74389997106b02cf513f573a0d7197ecc511514.zip |
Make sure that &#...; entities are encoded properly. Fixes #6042.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index d8f51a171..708de893c 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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 ) { |