lib/isodoc/presentation_function/terms.rb in isodoc-2.9.3 vs lib/isodoc/presentation_function/terms.rb in isodoc-2.9.4

- old
+ new

@@ -162,10 +162,10 @@ termsource_add_modification_text(elem.at(ns("./modification"))) end def termsource_add_modification_text(mod) mod or return - mod.text.strip.empty? or mod.previous = " – " + mod.text.strip.empty? or mod.previous = " — " mod.elements.size == 1 and mod.elements[0].replace(mod.elements[0].children) mod.replace(mod.children) end