lib/asciidoctor/csd/converter.rb in asciidoctor-csd-0.4.1 vs lib/asciidoctor/csd/converter.rb in asciidoctor-csd-0.4.2

- old
+ new

@@ -74,12 +74,11 @@ result = ["<?xml version='1.0' encoding='UTF-8'?>\n<csd-standard>"] @draft = node.attributes.has_key?("draft") result << noko { |ixml| front node, ixml } result << noko { |ixml| middle node, ixml } result << "</csd-standard>" - save_cache_biblio(@bibdb, true) - save_cache_biblio(@local_bibdb, false) + @bibdb.save() if @bibdb result = textcleanup(result.flatten * "\n") ret1 = cleanup(Nokogiri::XML(result)) validate(ret1) ret1.root.add_namespace(nil, CSD_NAMESPACE) ret1 @@ -94,10 +93,10 @@ d end # deactivating biblio caching for now #def open_cache_biblio(node, global) - #nil + #nil #end def pdf_convert(filename) url = "#{Dir.pwd}/#{filename}.html" pdfjs = File.join(File.dirname(__FILE__), 'pdf.js')