Commit Graph

4 Commits (e90709b8002113802adee5e0b42498a852dfc162)

Author SHA1 Message Date
Simone Orsi adef1da1fe 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 :)
2020-04-08 09:32:43 +02:00
Simone Orsi 0d68d9dee4 mail_inline_css: unify premailer transform apply 2020-04-08 09:10:17 +02:00
mpanarin 740f136294 [IMP] mail_inline_css: allow passing options to premailer 2019-05-28 12:25:57 +02:00
Timon Tschanz 87bfafc652 [IMP] mail_inline_css: Improve and add test cov 2019-05-28 12:25:57 +02:00