diff --git a/lib/pleroma/web/feed/feed_view.ex b/lib/pleroma/web/feed/feed_view.ex index 52771205e..8b0a42dc8 100644 --- a/lib/pleroma/web/feed/feed_view.ex +++ b/lib/pleroma/web/feed/feed_view.ex @@ -78,9 +78,7 @@ def activity_title(%{"content" => content}, opts \\ %{}) do end def activity_content(%{"content" => content}) do - content - |> String.replace(~r/[\n\r]/, "") - |> escape() + escape(content) end def activity_content(_), do: ""