Browse Source

common api: fix newlines in markdown code blocks

tags/v0.9.9
William Pitcock 5 years ago
parent
commit
2ecf81f10c
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      lib/pleroma/web/common_api/utils.ex

+ 0
- 1
lib/pleroma/web/common_api/utils.ex View File

@@ -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)


Loading…
Cancel
Save