summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2016-12-22 10:10:40 +0800
committerRi Xu <xuri.me@gmail.com>2016-12-22 10:10:40 +0800
commita08c8eb1aecea4a7d82fc70eb2aa4f886a6ed632 (patch)
tree8666354894f05dd28329dc52a7d8ccee1dcd0db4 /sheet.go
parentddeed48fc19e814e1ec2c04580108f7b865cf181 (diff)
- Fix issue comments missing after save;
- Update import PKG syntax in struct; - Update test XLSX file (include table, charts, functions, comments and hyperlink on Sheet1)
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sheet.go b/sheet.go
index 088a651..35fd5ed 100644
--- a/sheet.go
+++ b/sheet.go
@@ -127,6 +127,7 @@ func replaceRelationshipsID(workbookMarshal string) string {
rids = strings.Replace(rids, `<hyperlinks></hyperlinks>`, ``, -1)
rids = strings.Replace(rids, `<tableParts count="0"></tableParts>`, ``, -1)
rids = strings.Replace(rids, `<picture></picture>`, ``, -1)
+ rids = strings.Replace(rids, `<legacyDrawing></legacyDrawing>`, ``, -1)
return strings.Replace(rids, `<drawing rid="`, `<drawing r:id="`, -1)
}