lib/asciidoctor/gb/converter.rb in metanorma-gb-1.3.18 vs lib/asciidoctor/gb/converter.rb in metanorma-gb-1.3.19
- old
+ new
@@ -67,9 +67,10 @@
html_compliant_converter(node).convert(filename + ".xml")
FileUtils.mv "#{filename}.html", "#{filename}_compliant.html"
html_converter(node).convert(filename + ".xml")
doc_converter(node).convert(filename + ".xml")
end
+ @log.write(@filename + ".err") unless @novalid
@files_to_delete.each { |f| FileUtils.rm f }
ret
end
def termdef_cleanup(xmldoc)