git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
17955ca
)
Merge branch 'master' of github.com:jquery/jquery
author
jeresig
<jeresig@gmail.com>
Mon, 30 Nov 2009 18:42:26 +0000
(13:42 -0500)
committer
jeresig
<jeresig@gmail.com>
Mon, 30 Nov 2009 18:42:26 +0000
(13:42 -0500)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
bdc6b2f
..
5da31e6
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-32,7
+32,7
@@
var jQuery = function( selector, context ) {
rtrim = /(\s|\u00A0)+|(\s|\u00A0)+$/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(),