Fixes $.trim for   closes #4980

This commit is contained in:
Yehuda Katz 2009-11-30 10:21:56 -08:00
parent 84857abefc
commit 17955cacf4
2 changed files with 12 additions and 1 deletions

View file

@ -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>)?$/,