From f795c70c3304ce792102e8a0cf9e6296ee0fbff4 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sun, 3 Nov 2024 22:00:51 +0100 Subject: [PATCH] Add office documents --- cbconvert_func.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbconvert_func.go b/cbconvert_func.go index 22fcc15..43b76b3 100644 --- a/cbconvert_func.go +++ b/cbconvert_func.go @@ -73,7 +73,7 @@ func isArchive(f string) bool { // isDocument checks if file is document. func isDocument(f string) bool { - var types = []string{".pdf", ".xps", ".epub", ".mobi", ".docx", ".pptx"} + var types = []string{".pdf", ".xps", ".epub", ".mobi", ".docx", ".pptx", ".xlsx"} for _, t := range types { if strings.ToLower(filepath.Ext(f)) == t { return true