Method: IsoDoc::HtmlFunction::Footnotes#make_table_footnote_target

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

#make_table_footnote_target(out, fnid, fnref) ⇒ Object



17
18
19
20
21
22
23
24
25
# File 'lib/isodoc/html_function/footnotes.rb', line 17

def make_table_footnote_target(out, fnid, fnref)
  attrs = { id: fnid, class: "TableFootnoteRef" }
  out.span do |s|
    out.span **attrs do |a|
      a << fnref
    end
    insert_tab(s, 1)
  end
end