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.
This commit is contained in:
redsky17 2019-01-18 00:59:31 +00:00
parent 996a4c9590
commit 55883ec2de

View file

@ -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;
}