You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emogrifier does a good job cleaning up the styles but this makes it impossible to add fixes for quirks in email readers that intend to modify known classes that the email reader uses.
For example, selectors .ExternalClass or #outlook a are widely used to fix some issues with Outlook. While these quirks are bound to disappear over time, since they are still used, it would be useful to be able to keep them in the emogrified HTML.
Emogrifier needs an option to leave certain CSS rules in the <style> section in the header.
The text was updated successfully, but these errors were encountered:
oliverklee
changed the title
Styles to modify the webmail container are not preserved
Preserver styles to modify the webmail container
Oct 2, 2015
I've seen a lot of articles that try to modify styles of the container of an email, so I think there is or has been a need/purpose for these. I have not been able to see any of these actually make a difference, so the examples I gave may be obsolete now.
Nonetheless, it seemed useful to me to have an option on emogrifier that tells it not to touch certain CSS rules and leave them in the head section, for example if you want to test new quirks. A whitelist could do the trick, allthough I think the best solution is a method to specify the rules you want preserved (so that future users can test new rules).
Emogrifier does a good job cleaning up the styles but this makes it impossible to add fixes for quirks in email readers that intend to modify known classes that the email reader uses.
For example, selectors .ExternalClass or #outlook a are widely used to fix some issues with Outlook. While these quirks are bound to disappear over time, since they are still used, it would be useful to be able to keep them in the emogrified HTML.
Emogrifier needs an option to leave certain CSS rules in the <style> section in the header.
The text was updated successfully, but these errors were encountered: