Closed vitorleal closed 4 years ago
As I mentioned in the issue, I don't think there should be an insertion of underscores at all for a string that is not in camelCase or PascalCase, since the purpose of the function is to translate those two cases. If the string has spaces it should be left alone entirely IMO.
Remove spaces on word before convert to snake case to prevent string result like
Fix https://github.com/johnnyji/proper_case/issues/13