diff options
author | kaniini <ariadne@dereferenced.org> | 2019-07-29 19:42:26 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-07-29 19:42:26 +0000 |
commit | 5835069215b880ad261a006cf310da624a82ca4a (patch) | |
tree | 8999d2c1ccdea93e55e1ac7961778bc8d9054873 /lib/pleroma/web/common_api/utils.ex | |
parent | 83508418fb0b91b1c5af1a3b0bab7b768a6bf6c4 (diff) | |
download | pleroma-5835069215b880ad261a006cf310da624a82ca4a.tar.gz |
Revert "Merge branch 'bugfix/clean-up-markdown-rendering' into 'develop'"
This reverts merge request !1504
Diffstat (limited to 'lib/pleroma/web/common_api/utils.ex')
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 6d42ae8ae..d80fffa26 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -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( |