mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed bug with singleTag matching in core.js.
This commit is contained in:
parent
84857abefc
commit
90ba57ce6d
@ -32,7 +32,7 @@ var jQuery = function( selector, context ) {
|
||||
rtrim = /^\s+|\s+$/g,
|
||||
|
||||
// Match a standalone tag
|
||||
rsingleTag = /<(\w+)\s*\/?>(?:<\/\1>)?$/,
|
||||
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
|
||||
|
||||
// Keep a UserAgent string for use with jQuery.browser
|
||||
userAgent = navigator.userAgent.toLowerCase(),
|
||||
|
Loading…
Reference in New Issue
Block a user