lib/isodoc/m3d/m3dwordconvert.rb in metanorma-m3d-1.1.1 vs lib/isodoc/m3d/m3dwordconvert.rb in metanorma-m3d-1.1.2
- old
+ new
@@ -12,10 +12,10 @@
@libdir = File.dirname(__FILE__)
super
end
def convert1(docxml, filename, dir)
- FileUtils.cp html_doc_path("logo.jpg"), "logo.jpg"
+ FileUtils.cp html_doc_path("logo.jpg"), File.join(@localdir, "logo.jpg")
super
end
def default_fonts(options)
{