From 48644e75c72c41e8f89dee7b50067e28ca179eb4 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Sun, 22 Jan 2017 04:05:19 +0000 Subject: [PATCH] fix(titlecase): still more words --- lib/cardlib.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cardlib.py b/lib/cardlib.py index 6f7e9b6..391162c 100644 --- a/lib/cardlib.py +++ b/lib/cardlib.py @@ -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())