lib/asciidoctor/iso/front.rb in metanorma-iso-1.7.3 vs lib/asciidoctor/iso/front.rb in metanorma-iso-1.7.4
- old
+ new
@@ -65,10 +65,10 @@
def metadata_status(node, xml)
stage = get_stage(node)
substage = get_substage(node)
xml.status do |s|
- s.stage stage, **attr_code(abbreviation: stage_abbr(stage, substage, doctype(node)))
+ s.stage stage, **attr_code(abbreviation: cover_stage_abbr(node))
s.substage substage
node.attr("iteration") && (s.iteration node.attr("iteration"))
end
end