-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace in stringSanitizer.js #7
Comments
Hi @ChandreshL, thank you for your feedback. This is strange since Thanks! |
Hello, @Einenlum, I installed the library and tested it with the example code that is on the README.md I got version 1.0.0 from npm and it doesn't have It is useful to me to create my own word lists, and saves me a lot of time! Thanks |
Oh, thanks @ChandreshL ! Indeed, it's a release problem. We'll take care of this. Thanks for your feedback! |
TypeError: Cannot read property 'replace' of undefined
at Object.removeNonBreakableSpace (c:\path\node_modules\linguee\utils\stringSanitizer.js:4:18)
Posible solution
if(str)
return str.replace(/\u00A0/g, ' ');
else
return str;
The text was updated successfully, but these errors were encountered: