On Wed, Jan 08, 2003 at 12:57:57AM +0000, Ian Hickson wrote:
| The problem is that the following string:
|
| <script> <!--
| work();
| // --> </script>
|
| ...will be treated differently depending on whether it is supposed to be
| HTML or whether it is supposed to be XHTML.
True -- so use this instead:
<script>
work();
</script>
Perfectly valid in both HTML 3.2, HTML 4.0, HTML 4.01, XHTML 1.0, HTML 1.1
and the latest XHTML 2.0 draft.
--
Toby A Inkster BSc (Hons) ARCS
E-mail: tobyink@goddamn.co.uk
PGP: http://www.goddamn.co.uk/tobyink/?id=12
Web Page: http://www.goddamn.co.uk/tobyink/
IM: AIM:inka80 ICQ:6622880 YIM:tobyink Jabber:tobyink@a-message.de
WHO sees a BEACH BUNNY sobbing on a SHAG RUG?!