Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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="m(...)r">j(...)r</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
Comment #1
harshil.maradiya CreditAttribution: harshil.maradiya commentedI 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
Result
---------
I am not able to see any error in console as well as in view source it work as expected.
Second test
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