lib/asciidoctor/standoc/cleanup.rb in metanorma-standoc-1.2.2 vs lib/asciidoctor/standoc/cleanup.rb in metanorma-standoc-1.2.3
- old
+ new
@@ -5,10 +5,11 @@
require "html2doc"
require "pp"
require_relative "./cleanup_block.rb"
require_relative "./cleanup_footnotes.rb"
require_relative "./cleanup_ref.rb"
+require "relaton_iev"
module Asciidoctor
module Standoc
module Cleanup
def textcleanup(result)
@@ -40,11 +41,11 @@
normref_cleanup(xmldoc)
biblio_cleanup(xmldoc)
reference_names(xmldoc)
xref_cleanup(xmldoc)
origin_cleanup(xmldoc)
- iev_cleanup(xmldoc)
- element_name_cleanup(xmldoc) # cleanup IEV
+ RelatonIev::iev_cleanup(xmldoc, @bibdb)
+ element_name_cleanup(xmldoc)
bpart_cleanup(xmldoc)
quotesource_cleanup(xmldoc)
para_cleanup(xmldoc)
callout_cleanup(xmldoc)
footnote_cleanup(xmldoc)