Don't strip newlines in pre #709

Merged
floatingghost merged 1 commit from snan/akkoma:pre into develop 2024-04-24 17:00:34 +00:00

View file

@ -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: ""