From 55883ec2dede3ec0237434ca13fde044911905a0 Mon Sep 17 00:00:00 2001 From: redsky17 Date: Fri, 18 Jan 2019 00:59:31 +0000 Subject: [PATCH] Remove the code that removed paragraph tags from markdown -> html. This fixes #2, but reverts mujx#438. I do not think mujx#438 was a valid issue, as it complained about the display of valid HTML on riot, which speaks more to how Riot styles things than about an issue in nheko itself. --- src/Utils.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index aabd19cc..8176cb43 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -365,10 +365,6 @@ utils::markdownToHtml(const QString &text) auto result = QString::fromStdString(html).trimmed(); - // Strip paragraph tags. - result.replace("

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

", ""); - return result; }