happo / happo.io

Happo is a cross-browser screenshot testing service
https://happo.io
MIT License
196 stars 25 forks source link

SVG images aren't properly inlined #3

Closed trotzig closed 6 years ago

trotzig commented 6 years ago

As part of preparing the payload to send to happo.io for screenshooting, images are inlined. For svg images, the resulting base64 url is incorrect. data:image/svg; should be data:image/svg+xml.

Found by looking at the diff for https://github.com/mineral-ui/mineral-ui/pull/521.

trotzig commented 6 years ago

Fixed by d158573