From: lain Date: Sat, 31 Mar 2018 18:48:04 +0000 (+0200) Subject: No tabs. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ae6e3cb98166a89c8cad0f3ec614cdfab6a9dd52;p=akkoma No tabs. --- 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 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do end def info(text) do + text = String.replace(text, ~r/[\t\r\n]/, " ") "#{text}\tfake\(NULL)\t0\r\n" end