logo

auto_linker

AutoLinker-shim, based on https://git.pleroma.social/pleroma/auto_linker
commit: ec8a1536a7e6b61089fd3d5230a2a8f0139cc3b1
parent: 2266370ebf9e38a774d2d7902038b9bff4f275cc
Author: Egor Kislitsyn <egor@kislitsyn.com>
Date:   Fri,  8 Feb 2019 16:50:18 +0700

improve tlds import

Diffstat:

Mlib/auto_linker/parser.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/auto_linker/parser.ex b/lib/auto_linker/parser.ex @@ -61,7 +61,7 @@ defmodule AutoLinker.Parser do "ssb://" ] - @tlds "./priv/tlds.txt" |> File.read!() |> String.trim() |> String.split("\n") + @tlds "./priv/tlds.txt" |> File.read!() |> String.split("\n", trim: true) @default_opts ~w(url)a