lib/asciidoctor/iso/base.rb in metanorma-iso-1.1.0 vs lib/asciidoctor/iso/base.rb in metanorma-iso-1.1.1
- old
+ new
@@ -40,10 +40,10 @@
def makexml1(node)
result = ["<?xml version='1.0' encoding='UTF-8'?>\n<iso-standard>"]
result << noko { |ixml| front node, ixml }
result << noko { |ixml| middle node, ixml }
result << "</iso-standard>"
- textcleanup(result.flatten * "\n")
+ textcleanup(result)
end
end
end
end