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
I've given a valid function but with a name containing '-'. Attempting to call it from a template:
panic: template: index.html:64: unexpected bad character U+002D '-' in command
The text was updated successfully, but these errors were encountered:
I agree that we should reject uncallable Funcs.
Sorry, something went wrong.
CL https://golang.org/cl/9470 mentions this issue.
I am confused now. How did you get a panic? The parser correctly returns an error for a template that attempts to invoke such a function.
I'm starting to wonder if the original CL (tweaked) is all that's required.
CL https://golang.org/cl/14562 mentions this issue.
dbfd908
No branches or pull requests
I've given a valid function but with a name containing '-'. Attempting to call it from a template:
The text was updated successfully, but these errors were encountered: