lib/isodoc/csand/base_convert.rb in metanorma-csand-1.1.5 vs lib/isodoc/csand/base_convert.rb in metanorma-csand-1.2.0
- old
+ new
@@ -8,11 +8,11 @@
@meta = Metadata.new(lang, script, labels)
end
def annex_name(annex, name, div)
div.h1 **{ class: "Annex" } do |t|
- t << "#{get_anchors[annex['id']][:label]} "
+ t << "#{anchor(annex['id'], :label)} "
t.br
t.b do |b|
name&.children&.each { |c2| parse(c2, b) }
end
end
@@ -44,6 +44,6 @@
end
docxml
end
end
end
-end
\ No newline at end of file
+end