lib/asciidoctor/generic/converter.rb in metanorma-generic-1.7.3 vs lib/asciidoctor/generic/converter.rb in metanorma-generic-1.8.0
- old
+ new
@@ -19,9 +19,10 @@
configuration.document_namespace || XML_NAMESPACE
end
def baselocation(loc)
return nil if loc.nil?
+ return loc
File.expand_path(File.join(File.dirname(
self.class::_file || __FILE__), "..", "..", "..", loc))
end
def docidentifier_cleanup(xmldoc)