Method: IsoDoc::HtmlFunction::Footnotes#make_footnote

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

#make_footnote(node, fnote) ⇒ Object



81
82
83
84
85
86
87
88
# File 'lib/isodoc/html_function/footnotes.rb', line 81

def make_footnote(node, fnote)
  return if @seen_footnote.include?(fnote)

  @in_footnote = true
  @footnotes << make_generic_footnote_text(node, fnote)
  @in_footnote = false
  @seen_footnote << fnote
end