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.

Email encode - how to escape apostrophe

July 16, 2007 2:10pm

Subscribe [2]
  • #1 / Jul 16, 2007 2:10pm

    Angie Herrera

    365 posts

    Hi,

    I’m using the standard {encode="[email protected]" title="Name"} for a site. One of the names, however, has an apostrophe: O’Brien. When I do this:

    {encode="[email protected]" title="O'Brien"}

    the apostrophe doesn’t appear. It just reads, OBrien

    Anyway to escape this?

    .angie

  • #2 / Jul 18, 2007 7:24am

    Sue Crocker

    26054 posts

    There’s a third party plugin that will do this for you.

    SpamMeNot

  • #3 / Jul 19, 2007 6:55pm

    Angie Herrera

    365 posts

    Almost works. The plugin only works in templates - can’t get it to work in weblog fields. I’ve posted a question there. Thanks for that though!

  • #4 / Jul 19, 2007 7:18pm

    Sue Crocker

    26054 posts

    .angie, here’s a thread that talks about the problem you may be having.

  • #5 / Jul 21, 2007 8:12am

    Sue Crocker

    26054 posts

    {encode="[email protected]" title="O’Brien"}

    will work with EE 1.6. Have you upgraded yet?

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

ExpressionEngine News!

#eecms, #events, #releases