diff options
| author | Randy Morgan <[email protected]> | 2012-11-25 16:40:17 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-11-25 16:40:17 +0900 |
| commit | e1589ceadb6edc277054a7069c1ba67ca7cef7b4 (patch) | |
| tree | e09937ad37639f3dde98b21d7b176bc80bcad340 /lib | |
| parent | 818821bce3a3eb36e939d30acd47977a2ab99d9b (diff) | |
| download | caxlsx-e1589ceadb6edc277054a7069c1ba67ca7cef7b4.tar.gz caxlsx-e1589ceadb6edc277054a7069c1ba67ca7cef7b4.zip | |
Added note for ::CGI.escapeHTML performance issue
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/cell.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb index 126b24cd..cfcb6118 100644 --- a/lib/axlsx/workbook/worksheet/cell.rb +++ b/lib/axlsx/workbook/worksheet/cell.rb @@ -444,6 +444,9 @@ module Axlsx v ? 1 : 0 else @type = :string + v.to_s + # TODO find a better way to do this as it accounts for 30% of + # processing time in benchmarking... ::CGI.escapeHTML(v.to_s) end end |
