From ae6e3cb98166a89c8cad0f3ec614cdfab6a9dd52 Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 31 Mar 2018 20:48:04 +0200 Subject: [PATCH] No tabs. --- lib/pleroma/gopher/server.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/gopher/server.ex b/lib/pleroma/gopher/server.ex index 17741a7a7..6a72e8dd0 100644 --- a/lib/pleroma/gopher/server.ex +++ b/lib/pleroma/gopher/server.ex @@ -50,6 +50,7 @@ def init(ref, socket, transport, _Opts = []) do end def info(text) do + text = String.replace(text, ~r/[\t\r\n]/, " ") "#{text}\tfake\(NULL)\t0\r\n" end