lib/asciidoctor/iso/cleanup.rb in metanorma-iso-1.3.26 vs lib/asciidoctor/iso/cleanup.rb in metanorma-iso-1.3.27

- old
+ new

@@ -51,10 +51,10 @@ end # ISO as a prefix goes first def docidentifier_cleanup(xmldoc) prefix = get_id_prefix(xmldoc) - id = xmldoc.at("//bibdata/docidentifier[@type = 'iso']") or return + id = xmldoc.at("//bibdata/docidentifier[@type = 'ISO']") or return id.content = id_prefix(prefix, id) id = xmldoc.at("//bibdata/ext/structuredidentifier/project-number") and id.content = id_prefix(prefix, id) id = xmldoc.at("//bibdata/docidentifier[@type = 'iso-with-lang']") and id.content = id_prefix(prefix, id)