Re: CDATA in scripts

  •  04-02-2009, 4:46 AM

    Re: CDATA in scripts

    I know this is an old topic
    but my problem is: both examples will be removed in de demo(http://cutesoft.net/example/xmloutput.aspx) even as in my own cute-editor
     
    <script type="text/javascript">
    //<![CDATA[
    alert("<This is compatible with XHTML>");
    //]]>
    </script>
     
    <script type="text/javascript" src="external.js"></script>
    I don't want that to be removed.
    Everyting between "<script" and "</script>" shouldn't be changed at all.
    Is there a way to do this?
View Complete Thread