We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c723688 commit b858402Copy full SHA for b858402
driver/js/packages/hippy-vue/src/util/index.ts
@@ -243,9 +243,9 @@ function whitespaceFilter(str: string) {
243
// "trimWhitespace": default behavior is true.
244
// It will trim leading / ending whitespace including all special unicode such as \xA0( ).
245
if (!_Vue || typeof _Vue.config.trimWhitespace === 'undefined' || _Vue.config.trimWhitespace) {
246
- return str.trim().replace(/Â/g, ' ');
+ return str.trim().replace(/( |Â)/g, ' ');
247
}
248
- return str.replace(/Â/g, ' ');
+ return str.replace(/( |Â)/g, ' ');
249
250
251
export {
0 commit comments