html/template: Error .. in attribute name #51065
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you do?
I am using "html/template" package, while try to execute the template by using t.Execute(wr io.Writer, data interface{}) function error return :
Error : "html/template:test_template: \"'\" in attribute name: \"Emoji';'><br /></span></p>\\n</div\"".
Template content is given below:
<p style="font-family: Lato, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';">test</p>
The text was updated successfully, but these errors were encountered: