From 595ece81083e87d1f13325196dce96881f99f1eb Mon Sep 17 00:00:00 2001 From: James Graham Date: Tue, 18 Oct 2022 19:09:35 +0000 Subject: [PATCH] Fix line breaks being removed Stop stripping paragraph tags as this is causing line breaks to be removed in the formatted body. Any double new line in the plain text is treated as a paragraph in rich text. BUG: 458800 --- src/actionshandler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/actionshandler.cpp b/src/actionshandler.cpp index 955a37cc2..3fd20bb91 100644 --- a/src/actionshandler.cpp +++ b/src/actionshandler.cpp @@ -35,8 +35,6 @@ QString markdownToHTML(const QString &markdown) auto result = QString::fromStdString(html).trimmed(); result.replace("", ""); - result.replace("

", ""); - result.replace("

", ""); return result; }