Commit 90ba57ce authored by jeresig's avatar jeresig

Fixed bug with singleTag matching in core.js.

parent 84857abe
...@@ -32,7 +32,7 @@ var jQuery = function( selector, context ) { ...@@ -32,7 +32,7 @@ var jQuery = function( selector, context ) {
rtrim = /^\s+|\s+$/g, rtrim = /^\s+|\s+$/g,
// Match a standalone tag // Match a standalone tag
rsingleTag = /<(\w+)\s*\/?>(?:<\/\1>)?$/, rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
// Keep a UserAgent string for use with jQuery.browser // Keep a UserAgent string for use with jQuery.browser
userAgent = navigator.userAgent.toLowerCase(), userAgent = navigator.userAgent.toLowerCase(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment