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 content in SVG files #4503

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

montalvomiguelo
Copy link
Contributor

@montalvomiguelo montalvomiguelo commented Sep 22, 2024

WHY are these changes introduced?

Fixes #4499

WHAT is this pull request doing?

Handles SVG files as text in MIME type detection

How to test your changes?

Serve a theme and add/update an SVG file

Before
Screenshot 2024-09-21 at 6 08 12 PM

After
Screenshot 2024-09-21 at 6 07 14 PM

cc @benjaminsehl

Post-release steps

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

@karreiro karreiro self-requested a review September 23, 2024 07:49
Copy link
Contributor

@karreiro karreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR, @montalvomiguelo! LGTM and works as expected :) Great stuff 🚀

@karreiro karreiro added this pull request to the merge queue Sep 23, 2024
Merged via the queue into Shopify:main with commit a7c32ba Sep 23, 2024
68 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Theme Dev - inline_asset_content filter
2 participants