Hey guys,
I’m having a frustrating issue at the moment. I’m outputting my search results and when I use the {excerpt} tag, my email addresses and links are getting replaced.
As a result of this being part of the excerpt, the javascript that handles obfuscating these addresses is being chopped off, and therefore output (i.e.):
(JavaScript must be enabled to view this email address)/*= 0)out += unescape(l.replace(/^\s\s*/, ‘&#’));while (—...
So that’s a slight issue in itself… but the reason this is a real problem is all channels have Automatically turn URLs and email addresses into links? set to NO!
I’ve verified this in the database, and I’ve verified that in the EE_Typography->encode_email() function, ee()->TMPL->encode_email is coming out as true!