-
Notifications
You must be signed in to change notification settings - Fork 8
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
SVGs are been mimed as PNG #11
Comments
Hi @tefod-zz . To your point, this functionality is missing from the upstream package, which this package is simply a lightweight wrapper around. Normally I'd suggest you open an issue with that project. However there already seems to be an open PR there to add the functionality, but the project seems to be stale. (Admittedly, this project is a bit stale too, I'm not actively using it anymore but I'll do my best to continue to maintain it.) If you or someone else wants to fork That being said, do you get much out of inlining SVGs in this way? This plugin inlines |
Yep, pull request waiting: max-mapper/inline-images#4 The universe must conspire to get @maxogden to take a look. |
Your pull request is from 2017. I think you are putting too much pressure on him 😁 |
Hi,
Mime-Type for SVG Images are been set to data:image/png instead of data:image/svg+xml
Fix:
In inline-images to object contentTypes following has to be added:
btw: it would be great, if the wrapper would also consider favicons (optionally) as well.
The text was updated successfully, but these errors were encountered: