lib/isodoc/ieee/word_authority.rb in metanorma-ieee-0.0.6.1 vs lib/isodoc/ieee/word_authority.rb in metanorma-ieee-0.0.7

- old
+ new

@@ -112,10 +112,10 @@ div.children = ret[0] out = ret[1..-1].map.with_index do |d, i| para = i % 2 == 1 && i != ret.size - 2 ? "<p>&#xa0;</p>" : "" "<div class='WordSection'>#{para}#{d}</div>" end.join(SECTIONBREAK) - div.document.at("//div[@class = 'WordSection11']") + div.document.at("//div[@class = 'WordSectionIntro']") .previous_element.previous = SECTIONBREAK + out end def feedback_table(docxml) docxml.at("//div[@class = 'boilerplate-feedback']")&.xpath(".//table")