Compare commits
2 Commits
4a0e90e8a8
...
80e1c094c7
Author | SHA1 | Date |
---|---|---|
floatingghost | 80e1c094c7 | |
Sandra Snan | 6116f81546 |
|
@ -78,9 +78,7 @@ defmodule Pleroma.Web.Feed.FeedView do
|
|||
end
|
||||
|
||||
def activity_content(%{"content" => content}) do
|
||||
content
|
||||
|> String.replace(~r/[\n\r]/, "")
|
||||
|> escape()
|
||||
escape(content)
|
||||
end
|
||||
|
||||
def activity_content(_), do: ""
|
||||
|
|
Loading…
Reference in New Issue