debian-mirror-gitlab/lib/banzai/pipeline/single_line_pipeline.rb

24 lines
616 B
Ruby
Raw Normal View History

2015-12-23 02:04:40 +05:30
module Banzai
module Pipeline
class SingleLinePipeline < GfmPipeline
def self.filters
2016-06-02 11:05:42 +05:30
@filters ||= FilterArray[
Filter::SanitizationFilter,
2015-12-23 02:04:40 +05:30
Filter::EmojiFilter,
Filter::AutolinkFilter,
Filter::ExternalLinkFilter,
Filter::UserReferenceFilter,
Filter::IssueReferenceFilter,
Filter::ExternalIssueReferenceFilter,
Filter::MergeRequestReferenceFilter,
Filter::SnippetReferenceFilter,
Filter::CommitRangeReferenceFilter,
Filter::CommitReferenceFilter,
]
end
2015-12-23 02:04:40 +05:30
end
end
end