Only support IPv4 for the moment
This commit is contained in:
parent
26fec6cff1
commit
713b986fa5
1 changed files with 1 additions and 1 deletions
|
@ -761,7 +761,7 @@ defmodule LinkifyTest do
|
||||||
assert Linkify.link(text) == expected
|
assert Linkify.link(text) == expected
|
||||||
end
|
end
|
||||||
|
|
||||||
test "IPv4 and IPv6 are linked" do
|
test "IPv4 is linked" do
|
||||||
text = "1.1.1.1"
|
text = "1.1.1.1"
|
||||||
|
|
||||||
expected = "<a href=\"http://1.1.1.1\">1.1.1.1</a>"
|
expected = "<a href=\"http://1.1.1.1\">1.1.1.1</a>"
|
||||||
|
|
Reference in a new issue