Extra empty link is created when a link is wrapped in another html tag
From this issue pleroma/pleroma#2026 (closed)
Note <a href="...">
in the first example:
iex> Linkify.link("<p><a href=\"https://example.com\">https://example.com</a></p>")
"<p><a href=\"https://example.com\"><a href=\"https://example.com\">https://example.com</a></a></p>"
iex> Linkify.link("<a href=\"https://example.com\">https://example.com</a>")
"<a href=\"https://example.com\">https://example.com</a>"