Skip to content

html/template: imagesrcset incorrectly escaped #47452

@hoox

Description

@hoox

What version of Go are you using (go version)?

$ go version go1.16.6 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

What did you expect to see?

  • <link rel="preload" as="image" imagesrcset="http://example.com/1.jpg 100w, http://example.com/2.jpg 200w" />

What did you see instead?

  • <link rel="preload" as="image" imagesrcset="http://example.com/1.jpg%20100w,%20http://example.com/2.jpg%20200w" />

References

Ta!

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions