You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 beforetitlecase
.I would be happy to provide test cases where this happens, if you like.
The text was updated successfully, but these errors were encountered: