Mange / roadie

Making HTML emails comfortable for the Ruby rockstars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

option to not remove tags

0xradical opened this issue · comments

There are situations where I want to keep the tags despite them already been inlined, for example, in Hotmail it's possible to override some css classes that are not defined when the email is sent, only when it's read. If you inline them, those classes will be ignored. I think data immutability should just disable inlining.

in Hotmail it's possible to override some css classes that are not defined when the email is sent, only when it's read

I'm not sure I understand what you want here. Are you overriding styles for Hotmail chrome? Isn't that pretty much an exploit?

Anyway, you could include the extra classes as <style data-immutable></style> inside <head>. Let Roadie inline your normal stylesheets and add your extra stuff to the added <style> element instead of the stylesheet.

I think data immutability should just disable inlining.

It does. Any elements will be left there working.

Yeah, you are right, I was confused when I submitted this issue. Thanks !

No problem. Let me know if you have some other issue. :-)