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.
pull/7/head
redsky17 6 years ago
parent 996a4c9590
commit 55883ec2de
  1. 4
      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;
}

Loading…
Cancel
Save