summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/rels
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-01-18 13:11:08 +0900
committerRandy Morgan <[email protected]>2012-01-18 13:11:08 +0900
commitcf2f67a6b5dc41cc0d90b3fa7917bb8cffa67b2e (patch)
treed23ed06b87d14c183928d8b77030192f44393501 /lib/axlsx/rels
parentc3459ef98ee4ede887d28dfacd1c0d62e0cddd29 (diff)
downloadcaxlsx-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/rels')
-rw-r--r--lib/axlsx/rels/relationships.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/rels/relationships.rb b/lib/axlsx/rels/relationships.rb
index 9ee334a5..125082f4 100644
--- a/lib/axlsx/rels/relationships.rb
+++ b/lib/axlsx/rels/relationships.rb
@@ -18,7 +18,7 @@ require 'axlsx/rels/relationship.rb'
each_with_index { |rel, index| rel.to_xml(xml, "rId#{index+1}") }
}
end
- builder.to_xml
+ builder.to_xml(:save_with => 0)
end
end