elliotttf / cleanstring

Utility for cleaning strings for use in URIs
3 stars 0 forks source link

fix(cleanstring): remove untraditional whitespace with no ignored words #3

Closed elliotttf closed 5 years ago

elliotttf commented 5 years ago

trim() was called if there were any ignored words, but not if there weren't. This allowed things like nonbreaking spaces to slip through and cause problems.

elliotttf commented 5 years ago

:tada: This PR is included in version 2.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: