diff --git a/lib/auto_linker/parser.ex b/lib/auto_linker/parser.ex index b0c4cda..802ec79 100644 --- 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