aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2009-11-30 13:42:26 -0500
committerjeresig <jeresig@gmail.com>2009-11-30 13:42:26 -0500
commitdf6e02a4a7d8da037ebdb812e6b92a067223a6ea (patch)
tree1f5ec8ee76b4cc7a8e678bfda14eab3af3f4b29a /src/core.js
parent90ba57ce6d84653b4533569d88d4af6b9a50426b (diff)
parent17955cacf4e8c618ca5c2b09b0d2f43df353f683 (diff)
downloadjquery-df6e02a4a7d8da037ebdb812e6b92a067223a6ea.tar.gz
jquery-df6e02a4a7d8da037ebdb812e6b92a067223a6ea.zip
Merge branch 'master' of github.com:jquery/jquery
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index e766529af..5da31e6a6 100644
--- a/src/core.js
+++ b/src/core.js
@@ -29,7 +29,7 @@ var jQuery = function( selector, context ) {
rnotwhite = /\S/,
// Used for trimming whitespace
- rtrim = /^\s+|\s+$/g,
+ rtrim = /(\s|\u00A0)+|(\s|\u00A0)+$/g,
// Match a standalone tag
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,