-
Notifications
You must be signed in to change notification settings - Fork 845
Closed as not planned
Labels
Help neededIssue that we need contributors forIssue that we need contributors forPackage: @react-email/renderType: BugConfirmed bugConfirmed bug
Description
Some older email clients only resepect background image urls if the url is quoted (ie. background-image: url(./foo.jpg) will not work, but background-image: url("./foo.jpg") will). When using quoted urls in provided styles, the output from email export replaces either double quotes " or single quotes ' with html entities (" and ' respectively), breaking the inline style.
Steps to reproduce:
- create a template with an inline style that contains a style that includes backgroundImage with a quoted url. eg.
backgroundImage: "url('path/to/my/image.jpg')" - run
email export - note that style is replaced with
background-image: url('path/to/my/image.jpg')
jkondela, IgnisDa and dominictobias-bullish
Metadata
Metadata
Assignees
Labels
Help neededIssue that we need contributors forIssue that we need contributors forPackage: @react-email/renderType: BugConfirmed bugConfirmed bug