From 61ed7ca336d2372af25b40a6bb5e5ce872871b8f Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 18 Oct 2012 14:37:00 +0900 Subject: Patched serialized attributes to use double quotes for attribute values --- lib/axlsx/util/serialized_attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/axlsx/util/serialized_attributes.rb b/lib/axlsx/util/serialized_attributes.rb index 59efbc9f..50c8d3ae 100644 --- a/lib/axlsx/util/serialized_attributes.rb +++ b/lib/axlsx/util/serialized_attributes.rb @@ -24,7 +24,7 @@ module Axlsx key_value_pairs.merge! additional_attributes key_value_pairs.each do |key, value| - str << "#{Axlsx.camel(key, false)}='#{value}' " + str << "#{Axlsx.camel(key, false)}=\"#{value}\" " end str end -- cgit v1.2.3