We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The inflect.Humanize template function throws an error if the argument consists of whitespace only. For example, each of these throws an error:
inflect.Humanize
{{ inflect.Humanize " " }} {{ inflect.Humanize "\n" }} {{ inflect.Humanize "\t" }}
error calling humanize: runtime error: index out of range [0] with length 0
For the record, I wish this function:
flect.Humanize
flect.Ordinalize
The text was updated successfully, but these errors were encountered:
Upstream: gobuffalo/flect#74
Sorry, something went wrong.
No branches or pull requests
The
inflect.Humanize
template function throws an error if the argument consists of whitespace only. For example, each of these throws an error:For the record, I wish this function:
flect.Humanize
without doing other things to the stringflect.Ordinalize
; this should be moved to a separate template functionThe text was updated successfully, but these errors were encountered: