lib/axlsx/stylesheet/styles.rb in axlsx-1.0.15 vs lib/axlsx/stylesheet/styles.rb in axlsx-1.0.16
- old
+ new
@@ -244,10 +244,10 @@
[:numFmts, :fonts, :fills, :borders, :cellStyleXfs, :cellXfs, :cellStyles, :dxfs, :tableStyles].each do |key|
self.instance_values[key.to_s].to_xml(xml) unless self.instance_values[key.to_s].nil?
end
}
end
- builder.to_xml
+ builder.to_xml(:save_with => 0)
end
private
# Creates the default set of styles the exel requires to be valid as well as setting up the
# Axlsx::STYLE_THIN_BORDER