Module: Asciidoctor::PDF::FormattedText::Markup::Element1
- Defined in:
- lib/asciidoctor/pdf/formatted_text/parser.rb
Instance Method Summary collapse
-
#content ⇒ Object
NOTE: content only applies to non-void elements (second part of rule).
Instance Method Details
#content ⇒ Object
NOTE: content only applies to non-void elements (second part of rule)
103 104 105 |
# File 'lib/asciidoctor/pdf/formatted_text/parser.rb', line 103 def content { type: :element, name: (tag_element = elements[0]).name.to_sym, attributes: tag_element.attributes, pcdata: elements[1].content } end |