Ezio Melotti <ezio.melo...@gmail.com> added the comment:

Here's a patch that matches unquoted attribute values according to the HTML5 
specifications.

The regex uses \s even if this includes the \v char that, according to the 
HTML5 specs, shouldn't be included.  I left it there for simplicity and 
backward-compatibility, and also because it's a rather obscure corner case.

----------
versions:  -Python 3.1
Added file: http://bugs.python.org/file21517/issue7311-2.diff

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

Reply via email to