Method: IsoDoc::Function::Cleanup#footnote_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#footnote_cleanup(docxml) ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/isodoc/function/cleanup.rb', line 99 def footnote_cleanup(docxml) docxml.xpath('//a[@class = "FootnoteRef"]/sup') .each_with_index do |x, i| x.content = (i + 1).to_s end docxml end |