We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23299
    • 1,161 Posts
    This might be nitpicky...

    I have one site with three locations. Each location page has its own google maps link. The one page validates as Strict just fine. The other two pages show 12 errors, all in the google maps location code.

    I don’t know why one escapes this and the other two do not? The code is the basic characters that a google maps search would produce.

    Anyone familiar with getting pages that contain google maps code to validate?

    Thanks!
      • 9366
      • 19 Posts
      I’ve come across this a few times, although not sure why it validates on one and not the other. You should use CDATA like this so that the javascript isn’t parsed by the validator.

      <script type="text/javascript">
      // <![CDATA[

      // ]]>
      </script>
        • 1343 ☆ A M B ☆
        • 2,213 Posts
        A link to the site or the code in question would be helpful.
          Patrick | Server Wrangler
          About Me: Website | Tweets |  MODX Hosting