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
This was fixed in gobuffalo/flect v1.0.3.
Sorry, something went wrong.
update flect to fix gohugoio#12827
c4d804b
deps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3
c0d2061
Closes gohugoio#12827
1e690c0
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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: