diff options
| author | Ri Xu <xuri.me@gmail.com> | 2016-12-20 20:46:19 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2016-12-20 20:46:19 +0800 |
| commit | ddeed48fc19e814e1ec2c04580108f7b865cf181 (patch) | |
| tree | 58b6a372cad30e4fcfa44ba968dbc56ac86c4b15 /sheet.go | |
| parent | 6e1475a2429b2088a4c0b322962fc584370653d9 (diff) | |
- Fix issue background image and table missing after save;
- Update test template for this fix
Diffstat (limited to 'sheet.go')
| -rw-r--r-- | sheet.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -125,6 +125,8 @@ func replaceRelationshipsNameSpace(workbookMarshal string) string { func replaceRelationshipsID(workbookMarshal string) string { rids := strings.Replace(workbookMarshal, `<drawing rid="" />`, ``, -1) rids = strings.Replace(rids, `<hyperlinks></hyperlinks>`, ``, -1) + rids = strings.Replace(rids, `<tableParts count="0"></tableParts>`, ``, -1) + rids = strings.Replace(rids, `<picture></picture>`, ``, -1) return strings.Replace(rids, `<drawing rid="`, `<drawing r:id="`, -1) } |
