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/doc_props/app.rb | 2 +- lib/axlsx/doc_props/core.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/axlsx/doc_props') diff --git a/lib/axlsx/doc_props/app.rb b/lib/axlsx/doc_props/app.rb index aaf60092..df3d919d 100644 --- a/lib/axlsx/doc_props/app.rb +++ b/lib/axlsx/doc_props/app.rb @@ -172,7 +172,7 @@ module Axlsx end } end - builder.to_xml + builder.to_xml(:save_with => 0) end end end diff --git a/lib/axlsx/doc_props/core.rb b/lib/axlsx/doc_props/core.rb index 6743ba34..72607fc6 100644 --- a/lib/axlsx/doc_props/core.rb +++ b/lib/axlsx/doc_props/core.rb @@ -28,7 +28,7 @@ module Axlsx xml['cp'].revision 0 } end - builder.to_xml + builder.to_xml(:save_with => 0) end end end -- cgit v1.2.3