diff options
author | redsky17 <joedonofry@gmail.com> | 2019-01-18 00:59:31 +0000 |
---|---|---|
committer | redsky17 <joedonofry@gmail.com> | 2019-01-18 00:59:31 +0000 |
commit | 55883ec2dede3ec0237434ca13fde044911905a0 (patch) | |
tree | 95c758549981298295dbbbae51e04ca9dac09205 | |
parent | Fix clang-format linting issue (diff) | |
download | nheko-55883ec2dede3ec0237434ca13fde044911905a0.tar.xz |
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.
-rw-r--r-- | src/Utils.cpp | 4 |
1 files changed, 0 insertions, 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("<p>", ""); - result.replace("</p>", ""); - return result; } |