lib/asciidoctor/standoc/cleanup_footnotes.rb in metanorma-standoc-1.0.7 vs lib/asciidoctor/standoc/cleanup_footnotes.rb in metanorma-standoc-1.0.8
- old
+ new
@@ -64,10 +64,10 @@
xmldoc.xpath("//fn").each do |fn|
i, seen = other_footnote_renumber1(fn, i, seen)
end
end
- def footnote_renumber(xmldoc)
+ def footnote_cleanup(xmldoc)
table_footnote_renumber(xmldoc)
other_footnote_renumber(xmldoc)
xmldoc.xpath("//fn").each do |fn|
fn.delete("table")
end