From cf2f67a6b5dc41cc0d90b3fa7917bb8cffa67b2e Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 18 Jan 2012 13:11:08 +0900 Subject: remove linebreaks/indentation when saving to encourage interop with rubyXL https://github.com/randym/axlsx/issues/19 --- lib/axlsx/content_type/content_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/axlsx/content_type') diff --git a/lib/axlsx/content_type/content_type.rb b/lib/axlsx/content_type/content_type.rb index ac75a0d4..1685c9f8 100644 --- a/lib/axlsx/content_type/content_type.rb +++ b/lib/axlsx/content_type/content_type.rb @@ -17,7 +17,7 @@ module Axlsx each { |type| type.to_xml(xml) } } end - builder.to_xml + builder.to_xml(:save_with => 0) end end end -- cgit v1.2.3