gitlab-org--gitlab-foss/lib/banzai/pipeline/post_process_pipeline.rb

21 lines
422 B
Ruby
Raw Normal View History

module Banzai
module Pipeline
class PostProcessPipeline < BasePipeline
def self.filters
2016-03-01 15:54:35 -05:00
FilterArray[
Filter::RedactorFilter,
Filter::RelativeLinkFilter,
Filter::IssuableStateFilter,
Filter::AbsoluteLinkFilter
]
end
def self.transform_context(context)
context.merge(
post_process: true
)
end
end
end
end