Hi,
The "Encode email addresses: Javascript-wrapped HTML entities" option failed on IE8 and below, it generate a javascript error
"Impossible de définir la propriété « innerHTML » d’une référence null ou non définie"
that could be translate to
"cannot define the "innnerHTML" property of a null or undefined reference"

Code snippet :

<SPAN id=7fcabfe4911afec8b5b8fd80ef54fc7b1cfad1d3></SPAN>
 <!--
  document.getElementById('7fcabfe4911afec8b5b8fd80ef54fc7b1cfad1d3').innerHTML = '<a href="&#109;(...)&#114;">&#106;(...)&#114;</a>';
// --> 

This code works fine if there no html entities inside the innerHTML().

For Drupal 7, I suggest that the module should use jQuery since it's include into core, and move all the codes into one jQuery function at the bottom of the page.

Comments

harshil.maradiya’s picture

Issue summary: View changes

I am not able to reproduce this issue

I have follow following steps to reproduce this issue but didn't get any negative result

First test

  • Create email field
  • Set format to Invisimail: Javascript-wrapped HTML entities
  • Access the page and view the source

Result
---------
I am not able to see any error in console as well as in view source it work as expected.

Second test

  • Go to the config/content/formats/full_html check Invisimail: Javascript-wrapped HTML entities
  • Go to the basic page set body field text form to full html
  • Enter email address in the body
  • Access the page

Result
---------
I am not able to see any error in console as well as in view source it work as expected.

Both test conducted in ie-8 browser

Would any one please let us know which steps i have to follow to reproduce this issue .

Thanks,
Harshil