Method: IsoDoc::WordFunction::Footnotes#table_footnote_parse
- Defined in:
- lib/isodoc/word_function/footnotes.rb
#table_footnote_parse(node, out) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/isodoc/word_function/footnotes.rb', line 48 def table_footnote_parse(node, out) fn = node["reference"] tid = get_table_ancestor_id(node) make_table_footnote_link(out, tid + fn, fn) # do not output footnote text if we have already seen it for this table return if @seen_footnote.include?(tid + fn) @in_footnote = true out.aside { |a| a << make_table_footnote_text(node, tid + fn, fn) } @in_footnote = false @seen_footnote << (tid + fn) end |