Method: IsoDoc::Function::Terms#termnote_parse

Defined in:
lib/isodoc/function/terms.rb

#termnote_parse(node, out) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/isodoc/function/terms.rb', line 42

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