fix(titlecase): still more words
This commit is contained in:
parent
54bfe2c1b5
commit
48644e75c7
1 changed files with 4 additions and 0 deletions
|
@ -15,12 +15,16 @@ except ImportError:
|
|||
smallwords = [
|
||||
"'S",
|
||||
' A ',
|
||||
' And ',
|
||||
' As ',
|
||||
' At ',
|
||||
' For ',
|
||||
' From ',
|
||||
' In ',
|
||||
' Of ',
|
||||
' The ',
|
||||
' To ',
|
||||
' With ',
|
||||
]
|
||||
for word in smallwords:
|
||||
s = s.replace(word, word.lower())
|
||||
|
|
Loading…
Reference in a new issue