This commit is contained in:
Egor Kislitsyn 2019-04-09 13:20:48 +07:00
parent e8b6ec89c9
commit 02d7cb1eba

View file

@ -83,13 +83,6 @@ defmodule AutoLinker.ParserTest do
assert parse(text, class: false, rel: false, new_window: false) == expected
end
text = "Check out <div class='section'>google.com</div>"
expected =
"Check out <div class='section'><a href=\"http://google.com\">google.com</a></div>"
assert parse(text, class: false, rel: false, new_window: false) == expected
end
test "excludes html with specified class" do
text = "```Check out <div class='section'>google.com</div>```"