Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wasim 14 posts 34 karma points
    Aug 10, 2011 @ 12:44
    Wasim
    0

    How to prevent TinyMCE to encode the & character

    Hello,

    I'm obfuscating an email address to prevent spam bot harvesting. The generated html for the email address is in a bunch of characters that start with the &# character followed by a number. Now when I paste this html in the RTE using the HTML button and click on update, the rte some how converts the "&" character to &. Is there any way of preventing it to encode the & character? I have gone to the umbracoSettings.config file and changed this:

    <TidyCharEncoding>UTF8</TidyCharEncoding>

    to

    <TidyCharEncoding>ASCII</TidyCharEncoding>

    but it still doesn't work.

    Any other suggestions will highly be appreciated.

    Best regards,
    Wasim

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 10, 2011 @ 13:16
    Fuji Kusaka
    0

    Have you ever try using some javascript like http://jumk.de/nospam/stopspam.html

     

    //fuji

  • Wasim 14 posts 34 karma points
    Aug 10, 2011 @ 13:31
    Wasim
    0

    Hi Fuji,

    Thanks for the reply but I would rather have the whole address encrypted. Here is what i'm using: http://emailspoofer.net/demo.aspx

    I'm still open to other suggestions

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies