lib/isodoc/ogc/reqt.rb in metanorma-ogc-1.5.0 vs lib/isodoc/ogc/reqt.rb in metanorma-ogc-1.5.1

- old
+ new

@@ -73,10 +73,10 @@ def recommendation_steps(node) node.elements.each { |e| recommendation_steps(e) } return node unless node.at(ns("./component[@class = 'step']")) d = node.at(ns("./component[@class = 'step']")) - d = d.replace("<ol><li>#{d.children.to_xml}</li></ol>").first + d = d.replace("<ol class='steps'><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