lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.0.12 vs lib/isodoc/gb/gbwordrender.rb in metanorma-gb-1.1.0

- old
+ new

@@ -132,15 +132,15 @@ end.join end def populate_template(docxml, format) meta = @meta.get.merge(@labels) - logo = @common.format_logo(meta[:gbprefix], meta[:gbscope], format) + logo = @common.format_logo(meta[:gbprefix], meta[:gbscope], format, @localdir) logofile = @meta.standard_logo(meta[:gbprefix]) @files_to_delete << logofile + ".gif" unless logofile.nil? docxml = termref_resolve(docxml) meta[:standard_agency_formatted] = - @common.format_agency(meta[:standard_agency], format) + @common.format_agency(meta[:standard_agency], format, @localdir) meta[:standard_logo] = logo template = Liquid::Template.parse(docxml) template.render(meta.map { |k, v| [k.to_s, v] }.to_h) end