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.

classification
Title: HTMLParser can fail on unquoted attributes.
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: JulienPalard, r.david.murray
Priority: normal Keywords:

Created on 2012年08月16日 07:59 by JulienPalard, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (2)
msg168352 - (view) Author: Julien Palard (JulienPalard) Date: 2012年08月16日 07:59
This is accepted by browsers but raises an exception in HTMLParser :
from HTMLParser import HTMLParser
HTMLParser().feed("<a onclick=foo({bar:42}); class=baz>")
msg168381 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012年08月16日 15:17
This is fixed in more recent versions of Python (2.7, 3.2+).
History
Date User Action Args
2022年04月11日 14:57:34adminsetgithub: 59884
2012年08月16日 15:17:06r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg168381

resolution: out of date
stage: resolved
2012年08月16日 07:59:41JulienPalardcreate

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