Skip to content
Snippets Groups Projects
Commit 55883ec2 authored by Joe Donofry's avatar Joe Donofry
Browse files

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.
parent 996a4c95
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment