common api: fix newlines in markdown code blocks

这个提交包含在:
William Pitcock 2019-01-10 02:22:11 +00:00
父节点 be92edcb29
当前提交 2ecf81f10c

查看文件

@ -150,7 +150,6 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|> Formatter.mentions_escape(mentions)
|> Earmark.as_html!()
|> Formatter.html_escape("text/html")
|> String.replace(~r/\r?\n/, "")
|> (&{[], &1}).()
|> Formatter.add_user_links(mentions)
|> Formatter.add_hashtag_links(tags)