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

20 lines
421 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
2016-04-02 18:10:28 +05:30
module Banzai
module Pipeline
class BroadcastMessagePipeline < DescriptionPipeline
def self.filters
2016-06-02 11:05:42 +05:30
@filters ||= FilterArray[
2016-04-02 18:10:28 +05:30
Filter::MarkdownFilter,
Filter::SanitizationFilter,
Filter::EmojiFilter,
2018-03-17 18:26:18 +05:30
Filter::ColorFilter,
2016-04-02 18:10:28 +05:30
Filter::AutolinkFilter,
Filter::ExternalLinkFilter
]
end
end
end
end