Method: IsoDoc::HtmlFunction::Html#footnote_format

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

#footnote_format(docxml) ⇒ Object



48
49
50
51
52
53
54
55
56
57
# File 'lib/isodoc/html_function/postprocess_footnotes.rb', line 48

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