EXM does not respect the "background-image" CSS property if images are embedded into email


Description

When the Embed images option is enabled, emails sent with EXM might not show background images added by the "background-image" CSS property. The issue is caused by regex that is only able to properly process media links when single quotes are present in the CSS property.

Solution

To resolve the issue, consider using single quotes when calling a media link in the background-image property, for example:

background-image: url('-/media/...'))