From 9f6853f7718e8dd62b9e6ef7284b8311bd2d652c Mon Sep 17 00:00:00 2001 From: James Graham Date: Wed, 11 Feb 2026 18:21:36 +0000 Subject: [PATCH] Make sure that char format is properly maintained for multiple formats when swithching to quote and back --- src/libneochat/chattextitemhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libneochat/chattextitemhelper.cpp b/src/libneochat/chattextitemhelper.cpp index d8e3d61f3..8665ee4c0 100644 --- a/src/libneochat/chattextitemhelper.cpp +++ b/src/libneochat/chattextitemhelper.cpp @@ -326,7 +326,7 @@ void ChatTextItemHelper::insertFragment(const QTextDocumentFragment fragment, In text = trim(text); cursor.insertText(text); } else { - cursor.insertMarkdown(trim(fragment.toMarkdown())); + cursor.insertFragment(fragment); } if (keepPosition) { cursor.setPosition(currentPosition);