Code in script tag getting mangled
-
For some reason the inline script is getting mangled, resulting in the Carousel not working.
In the original carousel-anything/plugin.class.php, I see this:
navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],
Once the web page renders and I view page source, it looks like this:
navText:["<div class='nav-btn prev-slide'></script></div>","<div class="nav-btn next-slide"></div>"],
Any idea why this would happen? It was working fine, and sometime in the last couple months it stopped working. Maybe after a WP update?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Code in script tag getting mangled’ is closed to new replies.