[BUG] Javascript added to page interpreted as comment
-
In the file visual-website-optimizer.php, function get_vwo_clhf_script_async_code and on line 91, there is a comment in the javascript code that is open and not closed
// Fix: wp-rocket (application/ld+json).
This alone is not a bug. However, in situations where the page code sent to the browser is compressed (and thus line breaks are eliminated), as the comment block is not opened and closed (With/* */
), the browser ends up interpreting things as comments that it shouldn’t.In this image you can see the code being interpreted as a comment in Chrome https://ibb.co/LpyspFF
Would it be possible for you to make the correction?
- The topic ‘[BUG] Javascript added to page interpreted as comment’ is closed to new replies.