[issue15679] HTMLParser can fail on unquoted attributes.

2012-08-16 Thread Julien Palard

New submission from Julien Palard:

This is accepted by browsers but raises an exception in HTMLParser :

from HTMLParser import HTMLParser
HTMLParser().feed(a onclick=foo({bar:42}); class=baz)

--
components: Library (Lib)
messages: 168352
nosy: JulienPalard
priority: normal
severity: normal
status: open
title: HTMLParser can fail on unquoted attributes.
type: enhancement
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15679
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15679] HTMLParser can fail on unquoted attributes.

2012-08-16 Thread R. David Murray

R. David Murray added the comment:

This is fixed in more recent versions of Python (2.7, 3.2+).

--
nosy: +r.david.murray
resolution:  - out of date
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15679
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com