2 brianwc Dec 13, 2005 06:11
![](https://forums.b2evolution.net/media/users/brianwc/profile_pictures/.evocache/137154578140ed8051e57fd.png/crop-top-80x80.png?mtime=1372015408)
Can you please paste the link that was auto-converted wrong?
Just tested "http://user@somewhere.com" and it worked fine, at least in Phoenix.
Don't put the @ in the a href itself, but in the link text, so for instance, make a link to the SETI@Home project, where one would naturally do something like:
<a href="http://setiathome.berkeley.edu">SETI@Home</a>
and so there's no @ in the web address, but in the link text just before the close anchor.
The result was a mailto link to the nonexistent "SETI@Home" email address. That's another thing, shouldn't mailto links be checked to ensure that they have a domain name AND a TLD? (.com, .edu., .something)?
Ok, I see.
I've fixed your special case (by matching a not strict domain name) in the e-mail address.
But don't replacing links inside of <a> tags is more difficult. Fortunately I had a callback_on_non_matching_blocks() for a private project already and just made make_clickable() use it.
So, this case is also covered.
I won't commit it for Phoenix-Beta probably, but at least you know that it will work some day as expected.. ;)
Solved it.
Within the edit window down on the right there is an "Auto Links" checkbox that has to be unchecked. It seems like this is still sort of a bug, because it shouldn't override a regular link to make a mailto link.