2015-12-15 09:51:16 -05:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class PostProcessPipeline < BasePipeline
|
|
|
|
def self.filters
|
2016-03-01 15:54:35 -05:00
|
|
|
FilterArray[
|
2017-11-06 11:52:56 -05:00
|
|
|
Filter::RedactorFilter,
|
2015-12-15 09:51:16 -05:00
|
|
|
Filter::RelativeLinkFilter,
|
2016-08-24 13:11:48 -04:00
|
|
|
Filter::IssuableStateFilter,
|
2017-11-06 11:52:56 -05:00
|
|
|
Filter::AbsoluteLinkFilter
|
2015-12-15 09:51:16 -05:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
context.merge(
|
|
|
|
post_process: true
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|