mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 19:29:11 +00:00
Modify newlines.
This commit is contained in:
parent
fe1dcf0027
commit
8cbda7c0ee
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
|
|||
|
||||
link("Post ##{activity.id} by #{user.nickname}", "/notices/#{activity.id}") <>
|
||||
info("#{like_count} likes, #{announcement_count} repeats") <>
|
||||
"\r\n" <> info(HtmlSanitizeEx.strip_tags(activity.data["object"]["content"]))
|
||||
"\r\n" <> info(HtmlSanitizeEx.strip_tags(String.replace(activity.data["object"]["content"], "<br>", "\n"))
|
||||
end)
|
||||
|> Enum.join("\r\n")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue