BigW Consortium Gitlab

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

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

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