forked from mirrors/akkoma
Small fix.
This commit is contained in:
parent
94bbe1addc
commit
1b03981783
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
|
||||||
end
|
end
|
||||||
|
|
||||||
def info(text) do
|
def info(text) do
|
||||||
text = String.replace(text, ~r/[\t\n]/, " ")
|
text = String.replace(text, ~r/[\t\n]/, "")
|
||||||
String.split(text, "\r")
|
String.split(text, "\r")
|
||||||
|> Enum.map(fn (text) ->
|
|> Enum.map(fn (text) ->
|
||||||
"i#{text}\tfake\(NULL)\t0\r\n"
|
"i#{text}\tfake\(NULL)\t0\r\n"
|
||||||
|
|
Loading…
Reference in a new issue