summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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