Fix For Invalid HTML? – JavaScript Needs To Be In CDATA
-
Hi,
Anyone have a fix for the invalid HTML generated?
See report @ http://validator.w3.org/check?uri=https://www.war59312.com/archives/2006/05/25/windows_vista_beta_2/
I know the fix is simple, have to wrap the javascript code in CDATA, like below:
<script type='text/javascript'> /* <![CDATA[ */ dataHere /* ]]> */ </script>
I simply don’t see atm where the script is being generated.
Thanks,
Will
- The topic ‘Fix For Invalid HTML? – JavaScript Needs To Be In CDATA’ is closed to new replies.