[Python-Dev] Re: HTMLParser patches

Gerald S. Williams gsw@agere.com
Tue, 28 Jan 2003 16:58:23 -0500

john paulson wrote:
>     [...]  A side-effect of this is that
>     any "<!--" .. "-->" within a script/style will
>     be parsed as a comment.  If that behavior is
>     incorrect, the regex can be modified.

Does this mean that the following won't work:
  <SCRIPT language="JavaScript">
    <!-- //
    // -->

That could be a problem, since this is commonly used
to support browsers that don't understand <SCRIPT>.