Skip to content

Commit

Permalink
made separate words converter preserve case
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaminus committed Nov 21, 2014
1 parent 5846e83 commit a76db59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions case_conversion.py
Expand Up @@ -48,8 +48,8 @@ def to_slash(text, detectAcronyms, acronyms):


def to_separate_words(text, detectAcronyms, acronyms):
words, case, sep = case_parse.parseVariable(text, detectAcronyms, acronyms)
return ' '.join([w.lower() for w in words])
words, case, sep = case_parse.parseVariable(text, detectAcronyms, acronyms, True)
return ' '.join(words)


def toggle_case(text, detectAcronyms, acronyms):
Expand Down

0 comments on commit a76db59

Please sign in to comment.