1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
4
<title>[#427826] Script source needs escaping/CDATA section</title>
5
<script type="application/ecmascript">
10
if (a < b) alert("a less than b");
15
<script type="text/javascript" language='JavaScript'>
20
<script type="text/javascript" language='JavaScript'>
21
function loop_de_loop()
23
for ( ix=0; ix < 5; ++ix )
25
alert( "Bob's yer uncle " + ix );
29
<script type="text/javascript" language='JavaScript'>
31
function round_again()
33
for ( ix=0; ix < 5; ++ix )
35
alert( "Shivver me timbers " + ix );
41
<body onload="isLessThan()">
42
<p>If converted to XML/XHTML, the < in the javascript source
43
above causes problems for XML tools.</p>