mailto tag gives weird string as email address

  • ottilie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #5006 by ottilie
miralomaschool.com/main/pta-board.html

The email addresses that are in the table, somehow generate a code that I don't see when I'm editing the pages. When I look in the code while editing, I just see the mailto: tag with an email address.

But if you look in the source of the page, you will see code is added to the email address (see below).
HOW DO I GET RID OF THIS?!

<td><img alt="sandy-jones" src="/images/stories/sandy-jones.jpg" width="100" height="100" /><br />Sandy Jones<br /><strong>President</strong><br /><a href="mailto:
<script language='JavaScript' type='text/javascript'>
<!--
var prefix = 'm&#97;&#105;lt&#111;:';
var suffix = '';
var attribs = '';
var path = 'hr' + 'ef' + '=';
var addy45705 = 'pt&#97;' + '&#64;';
addy45705 = addy45705 + 'm&#105;r&#97;l&#111;m&#97;sf' + '&#46;' + 'c&#111;m';
document.write( '<a ' + path + '\'' + prefix + addy45705 + suffix + '\'' + attribs + '>' );
document.write( addy45705 );
document.write( '<\/a>' );
//-->
</script><script language='JavaScript' type='text/javascript'>
<!--
document.write( '<span style=\'display: none;\'>' );
//-->
</script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it
<script language='JavaScript' type='text/javascript'>
<!--
document.write( '</' );
document.write( 'span>' );
//-->
</script>">pta<br />@miralomasf.com</a><br /></td>

Please Log in to join the conversation.

  • ottilie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #5007 by ottilie
Think I got it. Disabled: Content - Email Cloaking

But not sure why/when it was enabled...

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 11 months ago #5009 by milos
To protect your email addresses from spam bots. So I recommend you to enable it back.

Please Log in to join the conversation.

More
13 years 10 months ago #6392 by aaroninbna
Whats the final verdict ?!?

I have the same issue. What about inserting a linkable .jpg ?


Thanks,

Aaron

Please Log in to join the conversation.

  • ottilie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 10 months ago #6393 by ottilie
I understand it's not the best way to go, but I just did as I wrote before:
Disabled: Content - Email Cloaking

It's a website for a school and most parents get confused when the email link doesn't work. They wouldn't cut&paste the email address, but just email the webmaster "the email links don't work"...

Please Log in to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum