From 1b03981783d9cc3bf5cac5c83375f99f5ba3bfbe Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 31 Mar 2018 21:11:46 +0200 Subject: [PATCH] Small fix. --- lib/pleroma/gopher/server.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/gopher/server.ex b/lib/pleroma/gopher/server.ex index bfcac424f..5b714be6a 100644 --- a/lib/pleroma/gopher/server.ex +++ b/lib/pleroma/gopher/server.ex @@ -50,7 +50,7 @@ def init(ref, socket, transport, _Opts = []) 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"