summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/shared_strings_table.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-05-14 18:17:42 +0100
committerRandy Morgan <[email protected]>2013-05-14 18:17:42 +0100
commit7caf2ea9dfe92fa418f40132ea3c94d3da109f2c (patch)
tree6ace66d468a3e85c72f6c43eff6027aa82a34d7d /lib/axlsx/workbook/shared_strings_table.rb
parentdc9e0523fb92f67002bc474f28f47e7255c33d3c (diff)
downloadcaxlsx-7caf2ea9dfe92fa418f40132ea3c94d3da109f2c.tar.gz
caxlsx-7caf2ea9dfe92fa418f40132ea3c94d3da109f2c.zip
correct shared strings table xml:space attribute parsing and schema
Diffstat (limited to 'lib/axlsx/workbook/shared_strings_table.rb')
-rw-r--r--lib/axlsx/workbook/shared_strings_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/shared_strings_table.rb b/lib/axlsx/workbook/shared_strings_table.rb
index f1bee3ae..7c08205e 100644
--- a/lib/axlsx/workbook/shared_strings_table.rb
+++ b/lib/axlsx/workbook/shared_strings_table.rb
@@ -49,7 +49,7 @@ module Axlsx
def to_xml_string(str='')
str << '<?xml version="1.0" encoding="UTF-8"?><sst xmlns="' << XML_NS << '"'
str << ' count="' << @count.to_s << '" uniqueCount="' << unique_count.to_s << '"'
- str << 'xml:space="' << xml_space.to_s << '>' << @shared_xml_string << '</sst>'
+ str << ' xml:space="' << xml_space.to_s << '">' << @shared_xml_string << '</sst>'
end
private