lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.2.4 vs lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.2.5

- old
+ new

@@ -172,10 +172,11 @@ out.name { |name| name << node.title } end def figure_attrs(node) - attr_code(id_unnum_attrs(node).merge(keep_attrs(node))) + attr_code(id_unnum_attrs(node).merge(keep_attrs(node)) + .merge(class: node.attr("class"))) end def image(node) noko do |xml| xml.figure **figure_attrs(node) do |f|