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.

Author ezio.melotti
Recipients Tom Anderl, ezio.melotti, xiang.zhang
Date 2016-01-15.14:40:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452868819.47.0.234642027658.issue26084@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug, as described in the HTML5 standard[0], if an unquoted attribute value is followed by a /, the / is included (the "anything else" branch of that list).
This is also what browsers do: try to create an HTML document that includes <img title=test/> and open it in a browser, then use the inspector to examine the result -- you will see <img title="test/"></img> (at least on firefox).
HTMLParser follows the HTML5 standard, so I'm closing this as "not a bug".
Thanks anyway for the report and to Xiang for pointing out that it's not a bug.

[0]: https://www.w3.org/TR/html5/syntax.html#attribute-value-%28unquoted%29-state
History
Date User Action Args
2016-01-15 14:40:19ezio.melottisetrecipients: + ezio.melotti, xiang.zhang, Tom Anderl
2016-01-15 14:40:19ezio.melottisetmessageid: <1452868819.47.0.234642027658.issue26084@psf.upfronthosting.co.za>
2016-01-15 14:40:19ezio.melottilinkissue26084 messages
2016-01-15 14:40:19ezio.melotticreate