I'm using premailer-rails gem for a newsletter e-mail which is responsive. The gem is removing media queries that are within my .scss
file by default. Premailer comes with an option that works only on style tags data_premailer => ignore
, which leaves the style tag untouched.
I'd like to set this attribute while using the :scss filter in haml:
:scss // <- can I add an attribute here?
I went through the haml docs with no success, I also tried:
:scss, data_premailer: "ignore"
:scss{ data_premailer: "ignore" }