diff options
| author | Rob Donnelly <[email protected]> | 2021-02-03 13:08:22 -0800 |
|---|---|---|
| committer | Rob Donnelly <[email protected]> | 2021-02-03 13:08:22 -0800 |
| commit | fb7b437a2c75075c6ff99e441a0cf22428b2ebdc (patch) | |
| tree | d783ca0770465818dbc6d53d169bcc00ab68311e /lib | |
| parent | 82331ab312935111217359b0a24cc20acaf9457e (diff) | |
| download | caxlsx-fb7b437a2c75075c6ff99e441a0cf22428b2ebdc.tar.gz caxlsx-fb7b437a2c75075c6ff99e441a0cf22428b2ebdc.zip | |
Fix special characters in pivot table cache definition
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb b/lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb index f136b663..969b0bf2 100644 --- a/lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb +++ b/lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb @@ -53,7 +53,7 @@ module Axlsx str << '</cacheSource>' str << ( '<cacheFields count="' << pivot_table.header_cells_count.to_s << '">') pivot_table.header_cells.each do |cell| - str << ( '<cacheField name="' << cell.value << '" numFmtId="0">') + str << ( '<cacheField name="' << cell.clean_value << '" numFmtId="0">') str << '<sharedItems count="0">' str << '</sharedItems>' str << '</cacheField>' |
