🎨 Improve exporting HTML/Word

This commit is contained in:
Daniel 2024-12-21 17:28:50 +08:00
parent 776b4fd6ee
commit b5bfbbe14a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 32 additions and 3 deletions

View file

@ -752,7 +752,6 @@ func ExportMarkdownHTML(id, savePath string, docx, merge bool) (name, dom string
to := filepath.Join(savePath, emoji)
if err := filelock.Copy(from, to); err != nil {
logging.LogErrorf("copy emojis from [%s] to [%s] failed: %s", from, to, err)
return
}
}
@ -910,7 +909,6 @@ func ExportHTML(id, savePath string, pdf, image, keepFold, merge bool) (name, do
to := filepath.Join(savePath, emoji)
if err := filelock.Copy(from, to); err != nil {
logging.LogErrorf("copy emojis from [%s] to [%s] failed: %s", from, to, err)
return
}
}
}