Method: IsoDoc::WordFunction::Body#termnote_parse
- Defined in:
- lib/isodoc/word_function/body.rb
#termnote_parse(node, out) ⇒ Object
120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/isodoc/word_function/body.rb', line 120 def termnote_parse(node, out) name = node&.at(ns("./name"))&.remove out.div **note_attrs(node) do |div| div.p class: "Note" 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 |