I think there is a bug in auto_link_email_addresses, if an e-mail
address is already linked.
This works fine:
<% p = “<a href="mailto:[email protected]">[email protected]” %>
<%= auto_link(p) %>
This fails:
<% p = “<a href="mailto:[email protected]">Some Other Text” %>
<%= auto_link(p) %>
And results in:
<a href=“mailto:[email protected]</
a>”>Some Other Text
Or do I overlook something?