mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fixes $.trim for closes #4980
This commit is contained in:
@@ -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>)?$/,
|
||||
|
||||
Reference in New Issue
Block a user