gitlab-org--gitlab-foss/lib/banzai/pipeline/post_process_pipeline.rb
2017-11-06 16:52:56 +00:00

20 lines
422 B
Ruby

module Banzai
module Pipeline
class PostProcessPipeline < BasePipeline
def self.filters
FilterArray[
Filter::RedactorFilter,
Filter::RelativeLinkFilter,
Filter::IssuableStateFilter,
Filter::AbsoluteLinkFilter
]
end
def self.transform_context(context)
context.merge(
post_process: true
)
end
end
end
end