View Full Version : CDATA
How is it with included javascript/jscript/vbscript files? Do you ned too put in //<[[CDATA and //]]> around the code...?
Included scripts and css files are parsed by javascript and css parsers as they are served with content-types text/javascript or application/javascript and text/css. They are not parsed by the XML or HTML parsers and so do not behave as such. The <![CDATA[ ... ]]> delimeters are there for the benefit of the XML parser.
vBulletin® v3.6.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.