module Asciidoctor::Pdf::FormattedText::Markup::Element1

Public Instance Methods

content() click to toggle source

NOTE content only applies to non-void elements (second part of rule)

# 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