diff options
| author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-07 16:12:51 +0800 |
|---|---|---|
| committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-07 16:12:51 +0800 |
| commit | 38ad20efc11c1872c4e62a12617f0300c138b867 (patch) | |
| tree | 7190083ed4fa8ddaa1ec3b9ecb260423451f3164 /styles.go | |
| parent | bc451a78de32ccde2a4f6d0851ea6e41e45408f1 (diff) | |
save bytes on memory instead of string
Diffstat (limited to 'styles.go')
| -rw-r--r-- | styles.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -999,7 +999,7 @@ func (f *File) stylesReader() *xlsxStyleSheet { func (f *File) styleSheetWriter() { if f.Styles != nil { output, _ := xml.Marshal(f.Styles) - f.saveFileList("xl/styles.xml", replaceWorkSheetsRelationshipsNameSpace(string(output))) + f.saveFileList("xl/styles.xml", replaceWorkSheetsRelationshipsNameSpaceBytes(output)) } } |
