Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 6eeabf4

Browse files
authored
Merge pull request #232 from abmantis/patch-1
Add dummy page record to fix sync issue
2 parents 1040373 + 23bdd80 commit 6eeabf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

archive/zipdoc.go

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func CreateZipDocument(id, srcPath string) (zipPath string, err error) {
104104
pages = append(pages, pageID)
105105
} else {
106106
documentPath = fmt.Sprintf("%s.%s", id, ext)
107+
pages = append(pages, "")
107108
}
108109

109110
f, err := w.Create(documentPath)

0 commit comments

Comments
 (0)