Auto_link issue with email address inside <a>


#1

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:removed_email_address@domain.invalid”>removed_email_address@domain.invalid” %>
<%= auto_link§ %>

This fails:
<% p = “<a href=“mailto:removed_email_address@domain.invalid”>Some Other Text” %>
<%= auto_link§ %>

And results in:

<a href=“mailto:removed_email_address@domain.invalid</
a>”>Some Other Text

Or do I overlook something?