Class: MicroMicro::Parsers::PlainTextPropertyParser

Inherits:
BasePropertyParser show all
Defined in:
lib/micro_micro/parsers/plain_text_property_parser.rb

Constant Summary collapse

HTML_ATTRIBUTES_MAP =
{
  "title" => ["abbr", "link"],
  "value" => ["data", "input"],
  "alt"   => ["area", "img"]
}.freeze

Instance Method Summary collapse

Methods inherited from BasePropertyParser

#initialize

Constructor Details

This class inherits a constructor from MicroMicro::Parsers::BasePropertyParser

Instance Method Details

#valueString



16
17
18
# File 'lib/micro_micro/parsers/plain_text_property_parser.rb', line 16

def value
  @value ||= value_class_pattern_value || attribute_value || super
end