Module: SlackMarkdown::Filters::IgnorableAncestorTags
- Included in:
- BoldFilter, CodeFilter, ItalicFilter, LineBreakFilter, MultipleCodeFilter, MultipleQuoteFilter, QuoteFilter, StrikeFilter
- Defined in:
- lib/slack_markdown/filters/ignorable_ancestor_tags.rb
Constant Summary collapse
- DEFAULT_IGNORED_ANCESTOR_TAGS =
%w[pre code tt].freeze
Instance Method Summary collapse
Instance Method Details
#ignored_ancestor_tags ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/slack_markdown/filters/ignorable_ancestor_tags.rb', line 7 def if context[:ignored_ancestor_tags] DEFAULT_IGNORED_ANCESTOR_TAGS | context[:ignored_ancestor_tags] else DEFAULT_IGNORED_ANCESTOR_TAGS end end |