lib/isodoc/function/cleanup.rb in isodoc-2.11.1 vs lib/isodoc/function/cleanup.rb in isodoc-2.11.2
- old
+ new
@@ -87,10 +87,11 @@
x.delete("class")
n = x.next_element
if n.nil?
x.name = "p"
else
- n.children.first.previous = x.remove
+ #n.children.first.previous = x.remove
+ n.add_first_child(x.remove)
end
end
docxml
end