single_line_pipeline.rb 605 Bytes
Newer Older
1 2 3
module Banzai
  module Pipeline
    class SingleLinePipeline < GfmPipeline
4 5 6
      def self.filters
        @filters ||= [
          Filter::SanitizationFilter,
7

8 9 10 11 12 13 14 15 16 17 18 19 20
          Filter::EmojiFilter,
          Filter::AutolinkFilter,
          Filter::ExternalLinkFilter,

          Filter::UserReferenceFilter,
          Filter::IssueReferenceFilter,
          Filter::ExternalIssueReferenceFilter,
          Filter::MergeRequestReferenceFilter,
          Filter::SnippetReferenceFilter,
          Filter::CommitRangeReferenceFilter,
          Filter::CommitReferenceFilter,
        ]
      end
21 22 23
    end
  end
end