Accidental no break space in JavaScript
-
Hi!
I’ve found a subtle issue with the JavaScript that’s being added to the website: one of the spaces in the script is actually a no-break-space. It doesn’t cause an issue normally, but I have a special case where I process all scripts before sent to the browser, that’s how I’ve noticed, as it caused a script error because the no-break-space character become the HTML equivalent
.The issues is with the space between the word
onhover
and the following:
. It is in line 70:
onhover : false,
in this file:
/wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/library/enjoyinstagram_shortcode_grid.php
It’s a one character fix to replace with a regular space, so please do it once you have a chance! Thanks!
- The topic ‘Accidental no break space in JavaScript’ is closed to new replies.