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

18 lines
390 B
Ruby
Raw Normal View History

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