projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b03981
)
Use correct linefeed.
author
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 19:14:33 +0000
(21:14 +0200)
committer
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 19:14:33 +0000
(21:14 +0200)
lib/pleroma/gopher/server.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/gopher/server.ex
b/lib/pleroma/gopher/server.ex
index 5b714be6ae879373689c34ac7b14c2aa6c49652d..cfce4c05c8c4b078fe9cf7966071d32730f269e1 100644
(file)
--- a/
lib/pleroma/gopher/server.ex
+++ b/
lib/pleroma/gopher/server.ex
@@
-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(String.replace(activity.data["object"]["content"], "<br>", "\
n
")))
+ "\r\n" <> info(HtmlSanitizeEx.strip_tags(String.replace(activity.data["object"]["content"], "<br>", "\
r
")))
end)
|> Enum.join("\r\n")
end