lib/isodoc/function/cleanup.rb in isodoc-2.1.0.2 vs lib/isodoc/function/cleanup.rb in isodoc-2.1.1

- old
+ new

@@ -64,10 +64,10 @@ def admonition_cleanup(docxml) docxml.xpath("//div[@class = 'Admonition'][title]").each do |d| title = d.at("./title") n = title.next_element n&.children&.first - &.add_previous_sibling("#{title.remove.text}—") + &.add_previous_sibling("#{title.remove.text}—") end docxml end def example_cleanup(docxml)