Revert "Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'"

This reverts merge request !1504
This commit is contained in:
kaniini 2019-07-29 19:42:26 +00:00
commit 5835069215
2 changed files with 5 additions and 8 deletions

View file

@ -300,9 +300,6 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|> Earmark.as_html!()
|> Formatter.linkify(options)
|> Formatter.html_escape("text/html")
|> (fn {text, mentions, tags} ->
{String.replace(text, ~r/\r?\n/, ""), mentions, tags}
end).()
end
def make_note_data(