Class: Banzai::Pipeline::BroadcastMessagePipeline
- Inherits:
-
DescriptionPipeline
- Object
- FullPipeline
- DescriptionPipeline
- Banzai::Pipeline::BroadcastMessagePipeline
- Defined in:
- lib/banzai/pipeline/broadcast_message_pipeline.rb
Constant Summary
Constants inherited from DescriptionPipeline
DescriptionPipeline::ALLOWLIST
Class Method Summary collapse
Class Method Details
.filters ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/banzai/pipeline/broadcast_message_pipeline.rb', line 6 def self.filters @filters ||= FilterArray[ Filter::BlockquoteFenceLegacyFilter, Filter::MarkdownFilter, Filter::BroadcastMessageSanitizationFilter, Filter::SanitizeLinkFilter, Filter::EmojiFilter, Filter::ColorFilter, Filter::AutolinkFilter, Filter::ExternalLinkFilter ] end |
.transform_context(context) ⇒ Object
19 20 21 22 23 |
# File 'lib/banzai/pipeline/broadcast_message_pipeline.rb', line 19 def self.transform_context(context) super(context).merge( no_sourcepos: true ) end |