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

fix(gatsby-plugin-image): Encode space in data SVG URI #37241

Merged
merged 2 commits into from Dec 14, 2022

Conversation

LekoArts
Copy link
Contributor

Description

Normally I wouldn't care too much about any W3C HTML validation as it's mostly outdated and irrelevant but in this case we can "fix" the problem by replacing ' ' with %20. Browsers are just fine with the space though so no behavior change here.

Related Issues

Fixes #37240

@LekoArts LekoArts added the topic: media Related to gatsby-plugin-image, or general image/media processing topics label Dec 13, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 13, 2022
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 13, 2022
@LekoArts LekoArts merged commit 09ea753 into master Dec 14, 2022
@LekoArts LekoArts deleted the img-placeholder-encode-spaces branch December 14, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

layout: CONSTRAINED generates invalid HTML
2 participants