diff --git a/internal/config/server.go b/internal/config/server.go index 4492aea..0cdb4c9 100644 --- a/internal/config/server.go +++ b/internal/config/server.go @@ -376,7 +376,7 @@ func MimeToPandoc(mimeType string) (string, error) { pandoc, ok := mapping[mimeType] if !ok { - return "", fmt.Errorf("unknown mime extension: %s", mimeType) + return GetMimeTypeExtension(mimeType) } return pandoc, nil }