New submission from Manuel Bärenz <man...@enigmage.de>:

I've attached a script which demonstrates the bug.

When feeding a <script> that contains a comment tag with the actual script and 
the script containing tags itself (e.g. a 'document.write(<td></td>)'), the 
parser doesn't call handle_comment and handle_starttag.

----------
components: Library (Lib)
files: htmlparserbug.py
messages: 150603
nosy: turion
priority: normal
severity: normal
status: open
title: html.parser.HTMLParser doesn't parse tags in comments in scripts 
correctly
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file24137/htmlparserbug.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13711>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to