Consider cases of PascalCase words, like McDaniel as well? Not sure if this would prove more irritating than desirable...:
"Patrick-McDaniel-MD" | humanize => "Patrick McDaniel MD"
Keeping the otherwise expected behavior:
"myActualCamelCase" | humanize => "My actual camel case"
"hole-in-the-wall" | humanize => "Hole in the wall"
It appears that humanize is does not discriminate ACRONYMS from camelCase. It probably should?
For example: "FBI" | humanize => "FBI" "M.I.T" | humanize => "M.I.T"
Consider cases of PascalCase words, like
McDaniel
as well? Not sure if this would prove more irritating than desirable...: "Patrick-McDaniel-MD" | humanize => "Patrick McDaniel MD"Keeping the otherwise expected behavior: "myActualCamelCase" | humanize => "My actual camel case" "hole-in-the-wall" | humanize => "Hole in the wall"