lib/isodoc/ogc/reqt.rb in metanorma-ogc-1.4.3 vs lib/isodoc/ogc/reqt.rb in metanorma-ogc-1.4.3.1
- old
+ new
@@ -78,9 +78,10 @@
d = d.replace("<ol><li>#{d.children.to_xml}</li></ol>").first
node.xpath(ns("./component[@class = 'step']")).each do |f|
f = f.replace("<li>#{f.children.to_xml}</li>").first
d << f
end
+ node
end
def recommendation_attributes1_component(node, out)
node = recommendation_steps(node)
out << "<tr><td>#{node['label']}</td><td>#{node.children}</td></tr>"