diff options
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r-- | src/utils/twtstr.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim index c41b545f..75f70ad3 100644 --- a/src/utils/twtstr.nim +++ b/src/utils/twtstr.nim @@ -36,6 +36,8 @@ func toHeaderCase*(s: string): string = for c in result.mitems: if flip: c = c.toUpperAscii() + else: + c = c.toLowerAscii() flip = c == '-' func snakeToKebabCase*(s: string): string = |