Commit Graph

4 Commits (7eac3e8727e6ab92ffa41b63f90b270ff87d6147)

Author SHA1 Message Date
Simone Orsi 8f6390387b mail_inline_css: fix transform hook
The mail module offers a better hook to manipulate html: `render_post_process`.
By using this, we make sure the transform is applied properly
before html tags sanitizing happens,
which can alter - if not screw - the final result.

Finally, it simplifies code :)
2022-05-26 11:23:35 +02:00
Simone Orsi 118f092f7c mail_inline_css: unify premailer transform apply 2019-12-02 09:46:50 +01:00
mpanarin 7c30a62786 [IMP] mail_inline_css: allow passing options to premailer 2019-12-02 09:27:26 +01:00
Timon Tschanz 15c0ab19b1 [IMP] mail_inline_css: Improve and add test cov 2019-12-02 09:27:26 +01:00