[issue13357] HTMLParser parses attributes incorrectly.

Michael Brooks report at bugs.python.org
Sun Nov 6 20:09:06 CET 2011


New submission from Michael Brooks <firealwaysworks at gmail.com>:

Open the attached file "red_test.html" in a browser.  The "bad" elements are blue because the style tag isn't parsed by any known browser.   However,  the HTMLParser library will incorrectly recognize them.

----------
components: Library (Lib)
files: red_test.html
messages: 147169
nosy: Michael.Brooks
priority: normal
severity: normal
status: open
title: HTMLParser parses attributes incorrectly.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file23618/red_test.html

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13357>
_______________________________________


More information about the Python-bugs-list mailing list