diff options
author | Leonardo Braga <leonardo.braga@gmail.com> | 2015-10-07 00:51:23 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2016-01-07 16:48:49 -0500 |
commit | fb9472c7fbf9979f48ef49aff76903ac130d0959 (patch) | |
tree | 3436702d3cd53508953d6106168023d55feff6a2 /src/manipulation/var | |
parent | df822caff079177d1840d67e03d6b24a93ea99a5 (diff) | |
download | jquery-fb9472c7fbf9979f48ef49aff76903ac130d0959.tar.gz jquery-fb9472c7fbf9979f48ef49aff76903ac130d0959.zip |
Manipulation: Bring tagname regexes up to spec
Fixes gh-2005
Closes gh-2634
Diffstat (limited to 'src/manipulation/var')
-rw-r--r-- | src/manipulation/var/rtagName.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation/var/rtagName.js b/src/manipulation/var/rtagName.js index 9e542694a..1f8751ed8 100644 --- a/src/manipulation/var/rtagName.js +++ b/src/manipulation/var/rtagName.js @@ -1,3 +1,3 @@ define( function() { - return ( /<([\w:-]+)/ ); + return ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); } ); |