Method: IsoDoc::WordFunction::Body#termnote_parse
- Defined in:
- lib/isodoc/word_function/body.rb
#termnote_parse(node, out) ⇒ Object
173 174 175 176 177 178 179 180 181 182 |
# File 'lib/isodoc/word_function/body.rb', line 173 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 |