noscript and script without a line return

Validating 

I believe the validator is wrong with the following XHTML

This is invalid (NOTE: may be wraped, was all one line):
<script language="javascript" type="text/javascript">document.write('<a
href="#" onclick="thumbs(); return false;">Doom 3 engine</a>');</script>

However, this is valid:
<script language="javascript" type="text/javascript">
<!--
document.write('<a href="#" onclick="thumbs(); return false;">Doom 3
engine</a>');
// -->
</script>

Also, this is invalid, however I can't work out why:
<noscript><a href="/shots.php?e=d3">Doom 3 engine</a></noscript>

Full page is located here: 
http://industri.sourceforge.net/shots.php?e=d3

-Tig

Received on Monday, 4 September 2006 14:16:44 UTC