summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-23 22:21:37 +0900
committerRandy Morgan <[email protected]>2011-11-23 22:21:37 +0900
commit044afe5a35db42cefce4f18a0fecc3da90cab1b5 (patch)
treeda20adada3242e38bb176f97bd80dee837ac8f6b /lib
parentc8c63518b4d58ca8875f81602792050cbec318f2 (diff)
downloadcaxlsx-044afe5a35db42cefce4f18a0fecc3da90cab1b5.tar.gz
caxlsx-044afe5a35db42cefce4f18a0fecc3da90cab1b5.zip
fixing some typos
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/workbook/worksheet/cell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb
index 72eb6177..5e535721 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -110,7 +110,7 @@ module Axlsx
def to_xml(xml)
if @type == :string
#NOTE not sure why, but xml.t @v renders the text as html entities of unicode data
- xml.c(:r => r, :t=>:inlineStr, :s=>style) { xml.is { xml << "<t>#{value}</t>" } }
+ xml.c(:r => r, :t=>:inlineStr, :s=>style) { xml.is { xml.t value.to_s } }
else
xml.c(:r => r, :s => style) { xml.v value }
end