diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-06 00:03:34 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-06 00:03:34 +0300 |
commit | ee1de011d1a9e2990fd56a794bbff6b0ec374d00 (patch) | |
tree | 80b9c01ddf3093bdf83dc2a0f188e41335ff4bdf /config | |
parent | a1c794c5917e9dad414e54cdd4a6ae920c23dda2 (diff) |
Premailer shouldn't remove script tags from our emails
Closes #14943.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/premailer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/premailer.rb b/config/initializers/premailer.rb index a44316bc3a4..b9176688bc4 100644 --- a/config/initializers/premailer.rb +++ b/config/initializers/premailer.rb @@ -3,5 +3,6 @@ Premailer::Rails.config.merge!( generate_text_part: false, preserve_styles: true, remove_comments: true, - remove_ids: true + remove_ids: true, + remove_scripts: false ) |