Skip to content
New issue

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

html/template: imagesrcset incorrectly escaped #47452

Open
hoox opened this issue Jul 28, 2021 · 3 comments
Open

html/template: imagesrcset incorrectly escaped #47452

hoox opened this issue Jul 28, 2021 · 3 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@hoox
Copy link

hoox commented Jul 28, 2021

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!

@cagedmantis cagedmantis added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 30, 2021
@cagedmantis cagedmantis added this to the Unplanned milestone Jul 30, 2021
@cagedmantis
Copy link
Contributor

#17441 was frozen due to age.

/cc @empijei

@hoox
Copy link
Author

hoox commented Aug 2, 2021

#17441 was frozen due to age.

/cc @empijei

FYI, the issue in #17441 no longer occurs as seen in the original go playground: https://play.golang.org/p/8A4TQ1-Kvt

@hoox
Copy link
Author

hoox commented Aug 11, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants