lib/rspreadsheet/workbook.rb in rspreadsheet-0.1.0 vs lib/rspreadsheet/workbook.rb in rspreadsheet-0.1.1
- old
+ new
@@ -24,10 +24,10 @@
@filename = new_filename
end
Zip::File.open(@filename) do |zip|
# it is easy, because @xmlnode in in sync with contents all the time
zip.get_output_stream('content.xml') do |f|
- f.write @content_xml
+ f.write @content_xml.to_s(:indent => false)
end
end
end
def create_worksheet_from_node(source_node)
sheet = Worksheet.new(source_node)