projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94bbe1a
)
Small fix.
author
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 19:11:46 +0000
(21:11 +0200)
committer
lain
<lain@soykaf.club>
Sat, 31 Mar 2018 19:11:46 +0000
(21:11 +0200)
lib/pleroma/gopher/server.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/gopher/server.ex
b/lib/pleroma/gopher/server.ex
index bfcac424f1137839bdd2981e6347e544c53e7bad..5b714be6ae879373689c34ac7b14c2aa6c49652d 100644
(file)
--- a/
lib/pleroma/gopher/server.ex
+++ b/
lib/pleroma/gopher/server.ex
@@
-50,7
+50,7
@@
defmodule Pleroma.Gopher.Server.ProtocolHandler do
end
def info(text) do
- text = String.replace(text, ~r/[\t\n]/, "
")
+ text = String.replace(text, ~r/[\t\n]/, "")
String.split(text, "\r")
|> Enum.map(fn (text) ->
"i#{text}\tfake\(NULL)\t0\r\n"