module IsoDoc::Generic::BaseConvert
def term_cleanup(docxml)
def term_cleanup(docxml) docxml.xpath("//p[@class = 'Terms']").each do |d| h2 = d.at("./preceding-sibling::*[@class = 'TermNum'][1]") d["id"] = h2["id"] d.add_first_child "<strong>#{to_xml(h2.remove.children)}</strong> " end docxml end