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
If an alias of the html type is used as global in templates:
html
var globals = native.Declarations{ "HTML": reflect.TypeOf((*native.HTML)(nil)).Elem(), }
Scriggo does not check that a typed string value cannot be converted to that type, for example this code does not fail:
string
{% var s = "a" %} {{ HTML(s) }}
The text was updated successfully, but these errors were encountered:
gazerro
No branches or pull requests
If an alias of the
html
type is used as global in templates:Scriggo does not check that a typed
string
value cannot be converted to that type, for example this code does not fail:The text was updated successfully, but these errors were encountered: