diff options
| author | Randy Morgan <[email protected]> | 2012-01-18 13:11:08 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-01-18 13:11:08 +0900 |
| commit | cf2f67a6b5dc41cc0d90b3fa7917bb8cffa67b2e (patch) | |
| tree | d23ed06b87d14c183928d8b77030192f44393501 /lib/axlsx/content_type | |
| parent | c3459ef98ee4ede887d28dfacd1c0d62e0cddd29 (diff) | |
| download | caxlsx-cf2f67a6b5dc41cc0d90b3fa7917bb8cffa67b2e.tar.gz caxlsx-cf2f67a6b5dc41cc0d90b3fa7917bb8cffa67b2e.zip | |
remove linebreaks/indentation when saving to encourage interop with rubyXL
https://github.com/randym/axlsx/issues/19
Diffstat (limited to 'lib/axlsx/content_type')
| -rw-r--r-- | lib/axlsx/content_type/content_type.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
