Class: Decidim::ContentParsers::MentionResourceParser
- Inherits:
-
TagParser
- Object
- BaseParser
- TagParser
- Decidim::ContentParsers::MentionResourceParser
- Defined in:
- decidim-core/lib/decidim/content_parsers/mention_resource_parser.rb
Overview
A parser that searches resource mentions in content.
A word starting with ‘/` will be considered as a possible mention if they only contains letters, numbers or underscores.
Constant Summary
Constants inherited from BaseParser
Instance Attribute Summary
Attributes inherited from BaseParser
Method Summary
Methods inherited from TagParser
Methods inherited from BaseParser
#initialize, #metadata, #rewrite
Methods included from Decidim::ContentProcessor::Common
#html_content?, #html_fragment
Constructor Details
This class inherits a constructor from Decidim::ContentParsers::BaseParser