Showing internal links as mail?
chrissearle - January 27, 2008 - 10:26
| Project: | External links filter |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
OK - have a page with the following
<a href="/blog/path_alias_to_node">name here</a>
ELF is applying the mailto icon to this ?
Otherwise seems to be working pretty well.
I did have to set all the filters that generate URLs (have some that take [xxx:yyyy] and convert to URL at a lighter weight - but that shouldn't affect this one - where the <a> tag is in place by hand.
Live example:
http://www.chrissearle.org/blog/testing_expansion_exim4
The link to Setting outgoing IP is an internal link (perhaps a little ironic that the actual node is about mail but there you go :)).

#1
Line 85 should read,
else if (strpos($match[1], 'mailto:') === 0) {. There's a missing "=" (two instead of three), which causes the strpos() to match FALSE as well as 0. Just a silly typo. :) I'm sure m3avrck will take care of this soon.#2
#3
thanks, fixed!
#4
Confirmed :) Thanks
#5
Automatically closed -- issue fixed for two weeks with no activity.