summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-10-18 14:37:00 +0900
committerRandy Morgan <[email protected]>2012-10-18 14:37:00 +0900
commit61ed7ca336d2372af25b40a6bb5e5ce872871b8f (patch)
tree620351e300647b415d9c55857c5e5e9016ce2f0d
parent03ad1c736cb975cf834a56cb200361b6b51a26d0 (diff)
downloadcaxlsx-61ed7ca336d2372af25b40a6bb5e5ce872871b8f.tar.gz
caxlsx-61ed7ca336d2372af25b40a6bb5e5ce872871b8f.zip
Patched serialized attributes to use double quotes for attribute values
-rw-r--r--lib/axlsx/util/serialized_attributes.rb2
1 files changed, 1 insertions, 1 deletions
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