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

Junyor - January 27, 2008 - 18:13

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

Junyor - January 27, 2008 - 18:26
Status:active» needs review
AttachmentSize
contrib-5.elf_.mailto.junyor.patch 629 bytes

#3

m3avrck - January 27, 2008 - 18:48
Status:needs review» fixed

thanks, fixed!

#4

chrissearle - January 27, 2008 - 19:32

Confirmed :) Thanks

#5

Anonymous (not verified) - February 10, 2008 - 19:41
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.