Xiang Zhang added the comment: I don't think this is a bug. The HTML5 syntax spec tells:
If an attribute using the unquoted attribute syntax is to be followed by another attribute or by the optional "/" (U+002F) character allowed in step 6 of the start tag syntax above, then there must be a space character separating the two. So I think HTMLParser's behaviour is right. The link is https://www.w3.org/TR/html5/syntax.html#attributes-0. ---------- nosy: +xiang.zhang _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com