Method: IsoDoc::HtmlFunction::Html#footnote_format

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

#footnote_format(docxml) ⇒ Object



52
53
54
55
56
57
58
59
60
61
# File 'lib/isodoc/html_function/postprocess_footnotes.rb', line 52

def footnote_format(docxml)
  docxml.xpath("//a[@class = 'FootnoteRef']/sup").each do |x|
    footnote_reference_format(x)
  end
  docxml.xpath("//a[@class = 'TableFootnoteRef'] | "\
               "//span[@class = 'TableFootnoteRef']").each do |x|
    table_footnote_reference_format(x)
  end
  docxml
end