homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Brooks
Recipients Michael.Brooks, ezio.melotti
Date 2011年11月17日.18:28:34
SpamBayes Score 3.1471205e-07
Marked as misclassified No
Message-id <CACDSwD=hyC+qAA+XQYcHrUE-uG7wmhzQs4qV6xDTzA1rZr01_g@mail.gmail.com>
In-reply-to <1321553875.95.0.876633555871.issue13358@psf.upfronthosting.co.za>
Content
Oah, then there is a misunderstanding. No browser will parse the html
that is declared within a javascript variable, it must be treated as a
continues data segment (with cdata properties) until the exit
</\s*script\s*> is encountered (and if this tag found anywhere, even in a
quoted string it will still terminate this data segment, because its a
cdata element). The snip of html provided must only be a single data
segment. </ alone is not a proper terminator.
Thu, Nov 17, 2011 at 11:17 AM, Ezio Melotti <report@bugs.python.org> wrote:
>
> Ezio Melotti <ezio.melotti@gmail.com> added the comment:
>
> It already behaves like a browser, it just gives you data in chunks
> instead of calling handle_data() only once at the end. The documentation
> is not clear about this though. It says that feed() can be called several
> times, but it doesn't say that handle_data() (and possibly other methods)
> might get called more than once. This seems to always be the case while
> calling feed() several times.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue13358>
> _______________________________________
>
History
Date User Action Args
2011年11月17日 18:28:35Michael.Brookssetrecipients: + Michael.Brooks, ezio.melotti
2011年11月17日 18:28:35Michael.Brookslinkissue13358 messages
2011年11月17日 18:28:34Michael.Brookscreate

AltStyle によって変換されたページ (->オリジナル) /