Method: IsoDoc::WordFunction::Footnotes#make_generic_footnote_text

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

#make_generic_footnote_text(node, fnid) ⇒ Object



34
35
36
37
38
39
40
# File 'lib/isodoc/word_function/footnotes.rb', line 34

def make_generic_footnote_text(node, fnid)
  noko do |xml|
    xml.aside **{ id: "ftn#{fnid}" } do |div|
      node.children.each { |n| parse(n, div) }
    end
  end.join("\n")
end