gitlab-org--gitlab-foss/lib/banzai/pipeline/email_pipeline.rb
2017-09-12 11:54:14 -04:00

17 lines
357 B
Ruby

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
)
end
end
end
end