Small fix.
This commit is contained in:
parent
94bbe1addc
commit
1b03981783
|
@ -50,7 +50,7 @@ def init(ref, socket, transport, _Opts = []) 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 New Issue