Hi, when I generate a dynamic sitemap, no matter which plugin I use, I get the following Javascript at the bottom of my sitemap.xml file. This is not valid xml and causes the sitemap to fail submission. I tried searching all files on my server and the WordPress database for this code but I can’t find it.
<script type="text/javascript">function xe5954(className) {var elements = document.getElementsByClassName(className);while(elements.length > 0){elements[0].parentNode.removeChild(elements[0]);}}xe5954("75f51");</script>
As a workaround I’m currently using a static sitemap until I can resolve this issue.