On Thu, Jun 21, 2007 at 08:14:07PM +0100, Andrew M. Bishop wrote:
> WWWOFFLE cannot just match '</script>' within a quoted
> string as being the end of a script because it might not
> be.
I think this is wrong. Not read standards yet, but, by pure
thinking, js syntax must not be a part of html syntax, it is
just encapsulated in a text node. And html syntax does not
have quoted strings.
This doc:
---------------
<html>
<script>
alert("</script>");
</script>
</html>
---------------
caused "unterminated string literal" error in the js console
in firefox.
--
Max