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
This commit is contained in:
James Graham
2022-10-18 19:09:35 +00:00
parent 4bd1b2fab4
commit 595ece8108

View File

@@ -35,8 +35,6 @@ QString markdownToHTML(const QString &markdown)
auto result = QString::fromStdString(html).trimmed();
result.replace("<!-- raw HTML omitted -->", "");
result.replace("<p>", "");
result.replace("</p>", "");
return result;
}