From a575980014afd5d1d69be7c0232974e77328d62b Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Mon, 30 Sep 2024 16:54:41 -0400 Subject: [PATCH] xlsxtomd: fill empty cells with a single space Signed-off-by: Jared Van Bortel --- gpt4all-chat/src/xlsxtomd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-chat/src/xlsxtomd.cpp b/gpt4all-chat/src/xlsxtomd.cpp index fe6c1021..6fe94761 100644 --- a/gpt4all-chat/src/xlsxtomd.cpp +++ b/gpt4all-chat/src/xlsxtomd.cpp @@ -39,7 +39,7 @@ static QString formatCellText(const QXlsx::Cell *cell) } if (cellText.isEmpty()) - return QString(); + return u" "_s; // Apply Markdown and HTML formatting based on font styles QString formattedText = cellText;