x/net/html: doesnt support attributes without values ie <script async "foo.js"> #40111
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?
What did you expect to see?
The async attribute should have no value.
What did you see instead?
The async attribute is rendered with an extra ="" added to it.
async is one of the 25 boolean attributes, it should be either present (value of true) or absent (value of false), and shouldnt have a value assigned.
The text was updated successfully, but these errors were encountered: