Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug with singleTag matching in core.js.

  • Loading branch information...
commit 90ba57ce6d84653b4533569d88d4af6b9a50426b 1 parent 84857ab
@jeresig jeresig authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core.js
View
2  src/core.js
@@ -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(),
Please sign in to comment.
Something went wrong with that request. Please try again.