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 051608b commit 51e124bCopy full SHA for 51e124b
src/common/helper.js
@@ -1981,6 +1981,8 @@ function removeTextFormatting (text) {
1981
text = _.replace(text, /[,"'?/\\]/g, ' ')
1982
// Replace two or more newlines
1983
text = _.replace(text, /\n/g, ' ')
1984
+ // Replace non-breaking space with regular space
1985
+ text = _.replace(text, /\xA0/g, ' ')
1986
// replace all whitespace characters with single space
1987
text = _.replace(text, /\s\s+/g, ' ')
1988
return text
0 commit comments