is valid?      

Text formatted with Texy:

Generated HTML code:

<script>
&lt;![CDATA[<!-- for (a=10;a>0;a - ) alert(a); -->]]&gt;
</script>

Verze Texy: 3.2.3 (konfigurace)