ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to NOT encode email addresses?

January 23, 2012 11:46am

Subscribe [2]
  • #1 / Jan 23, 2012 11:46am

    hotknife

    59 posts

    I like that EE automatically turns URLs and email addresses into real links. But I hate the javascript encoding of the email addresses. It keeps breaking things (like when an event is exported to iCal format, etc., where javascript may not be in use). How can I keep the auto-linking but disable auto-obfuscation?

  • #2 / Jan 24, 2012 4:34pm

    Dan Decker

    7338 posts

    Hi hotknife,

    I scoured the Control Panel, but just to make sure, I pinged our developers as well… At this time, there is no way to disable that feature. I invite you to make a Feature Request to allow for email addresses to be presented in an un-encoded format. Is there anything else we can assist you with?

    Thanks!

  • #3 / Jan 24, 2012 4:50pm

    hotknife

    59 posts

    Thanks for checking.

  • #4 / Jan 29, 2012 1:26pm

    Sean C. Smith

    3818 posts

    hotknife,

    I’m not sure if this will help, but you could also check out safe encode.

    Sean

  • #5 / Jan 31, 2012 1:04pm

    Matt Stein

    110 posts

    There documentation link for this extension is broken. It seems like it should be perfect for fixing my JSON strings, but I just can’t figure out how to use it!

    Despite enabling this extension, the following template tag still outputs the same JS-obfuscated string:

  • #6 / Jan 31, 2012 1:12pm

    Matt Stein

    110 posts

    ...similar to hotknife’s question: is there a way to completely strip any obfuscation and linking at the template level? I know that you can turn off automatic encoding more systematically, but I’d like to do this only for templates that return JSON.

  • #7 / Feb 03, 2012 7:51pm

    Sean C. Smith

    3818 posts

    Matt Stein,

    Unfortunately that’s not possible at this time. If you have the PHP skills you could see try creating an addon to accomplish this.

    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases