diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-09-12 11:14:54 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-09-12 11:54:14 -0400 |
commit | 6a97759ea86cd6d15eea1b17fd2526b4f0569108 (patch) | |
tree | 74d3ff854e59bc400a70bf3783bcfdf51f2e9e48 /lib/banzai/pipeline | |
parent | 0cd1563fb66e9ba533346fe3957912225e27000f (diff) | |
download | gitlab-ce-6a97759ea86cd6d15eea1b17fd2526b4f0569108.tar.gz |
Remove ImageLazyLoadFilter from EmailPipeline37629-lazy-image-loading-breaks-notification-mails-for-an-added-screenshot
Diffstat (limited to 'lib/banzai/pipeline')
-rw-r--r-- | lib/banzai/pipeline/email_pipeline.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/banzai/pipeline/email_pipeline.rb b/lib/banzai/pipeline/email_pipeline.rb index e47c384afc1..8f5f144d582 100644 --- a/lib/banzai/pipeline/email_pipeline.rb +++ b/lib/banzai/pipeline/email_pipeline.rb @@ -1,6 +1,12 @@ module Banzai module Pipeline class EmailPipeline < FullPipeline + def self.filters + super.tap do |filter_array| + filter_array.delete(Banzai::Filter::ImageLazyLoadFilter) + end + end + def self.transform_context(context) super(context).merge( only_path: false |