Small fix.
authorlain <lain@soykaf.club>
Sat, 31 Mar 2018 19:11:46 +0000 (21:11 +0200)
committerlain <lain@soykaf.club>
Sat, 31 Mar 2018 19:11:46 +0000 (21:11 +0200)
lib/pleroma/gopher/server.ex

index bfcac424f1137839bdd2981e6347e544c53e7bad..5b714be6ae879373689c34ac7b14c2aa6c49652d 100644 (file)
@@ -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"