pboy
pboy copied to clipboard
(failure to?) sanitise fully capitalised suggestions
I often see a suggested filename where the text is ALL CAPS. When this occurs, would it be better to convert to Title Case?
The line & titlecase seems to already be trying to do this, so is the behaviour a bug? Sorry if I have misunderstood the code, I don't read Haskell well.
Actually looking into Data.Text.Titlecase function, I don't think it would change an ALL CAPS string, so a fix may be to Data.Text.toLower
the text before titlecase
.
I would be happy to provide test cases where this happens, if you like.