lib/metanorma/modspec/cleanup.rb in mn-requirements-0.0.2 vs lib/metanorma/modspec/cleanup.rb in mn-requirements-0.1.0

- old
+ new

@@ -35,11 +35,10 @@ val.xpath("./dl").each do |d| requirement_metadata1(val, d, d) d.remove end if REQS.include?(term.text) && !val.text.empty? - val["label"] = val.text.strip - val.children.remove + val.children = "<identifier>#{val.text.strip}</identifier>" end val end # separate from default model requirement_metadata_cleanup,