From 044afe5a35db42cefce4f18a0fecc3da90cab1b5 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 23 Nov 2011 22:21:37 +0900 Subject: fixing some typos --- lib/axlsx/workbook/worksheet/cell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 << "#{value}" } } + 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 -- cgit v1.2.3