Browse Source

hopefully fix `is_valid_tld?/2`

merge-requests/1/head
Egor Kislitsyn 5 years ago
parent
commit
48f87d44cf
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/auto_linker/parser.ex

+ 2
- 1
lib/auto_linker/parser.ex View File

@ -208,7 +208,8 @@ defmodule AutoLinker.Parser do
true
else
tld = host |> String.split(".") |> List.last()
tld in @tlds
Enum.member?(@tlds, tld)
end
end


Loading…
Cancel
Save