mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
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:
parent
996a4c9590
commit
55883ec2de
1 changed files with 0 additions and 4 deletions
|
@ -365,10 +365,6 @@ utils::markdownToHtml(const QString &text)
|
||||||
|
|
||||||
auto result = QString::fromStdString(html).trimmed();
|
auto result = QString::fromStdString(html).trimmed();
|
||||||
|
|
||||||
// Strip paragraph tags.
|
|
||||||
result.replace("<p>", "");
|
|
||||||
result.replace("</p>", "");
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue