diff options
| author | Randy Morgan <[email protected]> | 2012-10-18 14:37:00 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-10-18 14:37:00 +0900 |
| commit | 61ed7ca336d2372af25b40a6bb5e5ce872871b8f (patch) | |
| tree | 620351e300647b415d9c55857c5e5e9016ce2f0d | |
| parent | 03ad1c736cb975cf834a56cb200361b6b51a26d0 (diff) | |
| download | caxlsx-61ed7ca336d2372af25b40a6bb5e5ce872871b8f.tar.gz caxlsx-61ed7ca336d2372af25b40a6bb5e5ce872871b8f.zip | |
Patched serialized attributes to use double quotes for attribute values
| -rw-r--r-- | lib/axlsx/util/serialized_attributes.rb | 2 |
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 |
