Method: IsoDoc::Function::Terms#termnote_parse
- Defined in:
- lib/isodoc/function/terms.rb
#termnote_parse(node, out) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/isodoc/function/terms.rb', line 45 def termnote_parse(node, out) name = node&.at(ns("./name"))&.remove out.div **note_attrs(node) do |div| div.p do |p| if name name.children.each { |n| parse(n, p) } p << termnote_delim end para_then_remainder(node.first_element_child, node, p, div) end end end |