html/template: URL types always escape in attributes #53342
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Playground
What did you expect to see?
I expect that data of type
HTML
,URL
, orHTMLAttr
is not escaped inside of an attribute.What did you see instead?
Attributes are always escaped irrespective of data type.
The text was updated successfully, but these errors were encountered: