• I’m including the following link to my script,

    <script type=’text/javascript’ src=”<?php bloginfo(‘template_url’); ?>/_js/main.js”></script>

    And when I check the source on the site, the JavaScript within that file gets spitted out and wrapped around a CDATA.

    Any reason for this? It doesn’t happen with any other link to a script file.

The topic ‘Link to script file being convert to embedded script’ is closed to new replies.