Method: IsoDoc::WordFunction::Body#termnote_parse

Defined in:
lib/isodoc/word_function/body.rb

#termnote_parse(node, out) ⇒ Object



184
185
186
187
188
189
190
191
192
193
# File 'lib/isodoc/word_function/body.rb', line 184

def termnote_parse(node, out)
  out.div **{ class: "Note" } do |div|
    first = node.first_element_child
    div.p **{ class: "Note" } do |p|
      anchor = get_anchors[node['id']]
      p << "#{anchor&.dig(:label) || '???'}: "
      para_then_remainder(first, node, p, div)
    end
  end
end