We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d7236b commit 4a044afCopy full SHA for 4a044af
src/Angular.js
@@ -544,7 +544,7 @@ var trim = (function() {
544
// TODO: we should move this into IE/ES5 polyfill
545
if (!String.prototype.trim) {
546
return function(value) {
547
- return isString(value) ? value.replace(/^\s*/, '').replace(/\s*$/, '') : value;
+ return isString(value) ? value.replace(/^\s\s*/, '').replace(/\s\s*$/, '') : value;
548
};
549
}
550
0 commit comments