diff options
author | Leonardo Braga <leonardo.braga@gmail.com> | 2015-01-04 19:02:39 -0500 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-01-13 07:42:59 +0300 |
commit | 85ffc6d973865a031ded170934e0acfc2e97cb11 (patch) | |
tree | 36cc44040f1ce40d6b7ee7161cbc144b3488ace0 /src | |
parent | 534f13025aeb59a7d5893ce62efafa0b066a4934 (diff) | |
download | jquery-85ffc6d973865a031ded170934e0acfc2e97cb11.tar.gz jquery-85ffc6d973865a031ded170934e0acfc2e97cb11.zip |
Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
Diffstat (limited to 'src')
-rw-r--r-- | src/manipulation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index e66998d53..2e309f5e7 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -16,8 +16,8 @@ define([ ], function( jQuery, concat, push, access, rcheckableType, support, dataPriv, dataUser ) { var - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, + rtagName = /<([\w:-]+)/, rhtml = /<|&#?\w+;/, rnoInnerhtml = /<(?:script|style|link)/i, // checked="checked" or checked |