lib/isodoc/function/utils.rb in isodoc-1.2.0 vs lib/isodoc/function/utils.rb in isodoc-1.2.1
- old
+ new
@@ -152,10 +152,10 @@
def populate_template(docxml, _format = nil)
meta = @meta
.get
.merge(@labels || {})
.merge(@meta.labels || {})
- .merge(@meta.fonts_options || {})
+ .merge(fonts_options || {})
template = liquid(docxml)
template.render(meta.map { |k, v| [k.to_s, empty2nil(v)] }.to_h)
.gsub('<', '<').gsub('>', '>').gsub('&', '&')
end