pksunkara / inflect

custom inflections for nodejs
MIT License
229 stars 18 forks source link

Don't map non-alphanumerics to space in titleize() #23

Closed tawdle closed 8 years ago

tawdle commented 8 years ago

Fixes #22.

I removed entirely the line that changes non-alphanumerics into spaces; doing so had no negative impact on tests. I may be unwittingly throwing the baby out with the bathwater.

I added a single test to cover the case that I was particularly concerned about.

pksunkara commented 8 years ago

Thanks!