11 May 2010 at 11:50pm
(Last edited: 12 May 2010 2:03am),
I tried to insert an email address with its HTML character entities into the markup editor (/content editor).
But it turns all &#XXX; into their corresponding letters. So every spam bot can read the mail address :(
1 October 2012 at 4:01am
I'm looking for a solution to this as well. I have an onBeforeWrite function in my Page class to look for email addresses and replace them with numeric entities, but SilverStripe is converting them back before writing to the database. Is there a way to get around this without changing core code? Thanks.
30 October 2012 at 10:00am
@helenclarko: if you are using SilverStripe 3, you may want to check out the cwsoft-shortcode module, which provides a handy method to obfuscate mail adresses entered in the WYSIWYG editor: https://github.com/cwsoft/silverstripe-cwsoft-shortcode#readme