imaustink / gulp-inline-images

Gulp plugin for converting linked HTML images into base64 encoded inline images. Works with local and remote files.
4 stars 10 forks source link

Fix inlining of SVG images by changing its mime-type #13

Closed joaopatrocinio closed 8 months ago

joaopatrocinio commented 8 months ago

SVG were not being inlined correctly due to it's mime-type being defined as image/svg, were it should be image/svg+xml.

Before: imagem

After: imagem

imaustink commented 8 months ago

Thanks for the PR 😃

imaustink commented 8 months ago

I've just published 1.4.0 including your changes.