>> this is a comment in JavaScript, which is itself inside an HTML comment
> Did you read the post?
misread it rather ...
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Python 2.3.5 seems to choke when trying to parse html files, because it
> doesn't realize that what's inside is a comment in HTML,
> even if this comment is inside , especially if it's a
> comment inside that script code too.
nope. what's inside is not a comment if
"Istvan Albert" <[EMAIL PROTECTED]> wrote:
>
>> this is a comment in JavaScript, which is itself inside an HTML comment
>
>Don't nest HTML comments. Occasionaly it may break the browsers as
>well.
Did you read the post? He didn't nest HTML comments. He put a Javascript
comment inside an HTML com
> this is a comment in JavaScript, which is itself inside an HTML comment
Don't nest HTML comments. Occasionaly it may break the browsers as
well.
(I remember this from one of the weirdest of bughunts : whenever the
number of characters between nested HTML comments was divisible by four
the page
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Python 2.3.5 seems to choke when trying to parse html files, because it
> doesn't realize that what's inside is a comment in HTML,
> even if this comment is inside , especially if it's a
> comment inside that script code too.
Actua
> // - this is a comment in JavaScript, which is itself inside
> an HTML comment
This is supposed to be one line. Got wrapped during posting.
--
http://mail.python.org/mailman/listinfo/python-list
Python 2.3.5 seems to choke when trying to parse html files, because it
doesn't realize that what's inside is a comment in HTML,
even if this comment is inside , especially if it's a
comment inside that script code too.
The html file:
Choke on this