Class: Coradoc::Mirror::Node::RawInline

Inherits:
Coradoc::Mirror::Node show all
Defined in:
lib/coradoc/mirror/node.rb

Overview

Raw inline passthrough — content the source format marked as “do not process, emit verbatim.” Distinct from ‘text` so renderers can skip escaping without sniffing content for `<…>`. AsciiDoc’s ‘+++raw+++` is the canonical producer.

Constant Summary collapse

PM_TYPE =
'raw_inline'

Constants inherited from Coradoc::Mirror::Node

POLYMORPHIC, TYPE_TO_CLASS

Instance Method Summary collapse

Instance Method Details

#text_contentObject



179
180
181
# File 'lib/coradoc/mirror/node.rb', line 179

def text_content
  text.to_s
end