Class: Banzai::Pipeline::EmojiPipeline
- Inherits:
-
BasePipeline
- Object
- BasePipeline
- Banzai::Pipeline::EmojiPipeline
- Defined in:
- lib/banzai/pipeline/emoji_pipeline.rb
Class Method Summary collapse
-
.filters ⇒ Object
These filters will only perform sanitization of the content, preventing XSS, and replace emoji.
Methods inherited from BasePipeline
html_pipeline, transform_context
Class Method Details
.filters ⇒ Object
These filters will only perform sanitization of the content, preventing XSS, and replace emoji.
8 9 10 11 12 13 14 15 |
# File 'lib/banzai/pipeline/emoji_pipeline.rb', line 8 def self.filters @filters ||= FilterArray[ Filter::HtmlEntityFilter, Filter::SanitizationFilter, Filter::SanitizeLinkFilter, Filter::EmojiFilter ] end |