Re: HTML parsing bug?

2006-02-02 Thread Istvan Albert
>> 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

Re: HTML parsing bug?

2006-02-01 Thread Fredrik Lundh
[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

Re: HTML parsing bug?

2006-02-01 Thread Tim Roberts
"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

Re: HTML parsing bug?

2006-01-30 Thread Istvan Albert
> 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

Re: HTML parsing bug?

2006-01-30 Thread Richard Brodie
<[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

Re: HTML parsing bug?

2006-01-30 Thread G.
> // - 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

HTML parsing bug?

2006-01-30 Thread g_no_mail_please
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