Closed mrtom closed 8 months ago
I don't know the exact limitations, but as I'm starting to work with emails for the first time, my current stance is "we don't use SVG" to avoid confusion / issues
SVG support is extremely dicey. See https://www.caniemail.com/features/image-svg/
That site is also awesome for viewing compatibility of features across clients.
StackBlitz link 404s unfortunately.
Fixed the bad link. Thanks for raising it.
Wow, I had no idea it would be so poor in 2023. OK, time to use PNGs in emails! Thanks.
@jsxp-email/cli
Version?:@jsx-email/cli
(without the p, assuming that's a template typo?) v1.1.1StackBlitz link 404s unfortunately. There is a repo you can play with here.
This repo contains the code created when you use the quick start in the JSX Email docs, with a single SVG JSX file added into the starter template.
Expected Behavior
Here is what that SVG looks like when rendered in my Next app (first) and when sent using react-email (second)
Actual Behavior
Here is what the SVG looks like rendered by the JSX Email preview server (first) and an email generated by JSX Email (second)
Note the white 'tick' is missing in both cases.
Additional Information