if I searching for a string what is near to an e-mail address (node input type is bbcode and email address encoding is on) then the search modul will show a part of node and the e-mail address will looks like this:
blablabla text blablabla searched string blabla eval(unescape('%64%6f%64...
Comments
Comment #1
naudefj commentedThat's because "Javascript encoding of emails" is enabled. If you don't like it, disable this option and reindex your site.
Comment #2
andrew_kabai commentedYes, I know, it is a usefull option! but is it possible to show the email address in the right format (in case of showing search results) while the email encoding is on?
Comment #3
naudefj commentedNot sure. If we can detect that we are busy searching we can render the output differently. However, caching may get in the way.
Comment #4
andrew_kabai commentedHm, ok.
I hope you can fix this problem in the next subversion of bbcode...
Regards
Comment #5
naudefj commentedUnfortunately, I wouldn't know how to. If you find a way, please submit a patch.
Comment #6
andrew_kabai commentedUnfortunately, I have very beginner skills about drupal module developing and hooking technology, but it looks like we have problem with node_update_index() function.
So maybe we should catch node_invoke_nodeapi($node, 'view', false, false) inside node_update_index() (I don't know it is possible or not) and after it the view functions must return valid html e-mail address link when it called from node_update_index()
Do you have any idea about it?