Message258297
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 |
|
Date |
User |
Action |
Args |
2016-01-15 14:40:19 | ezio.melotti | set | recipients:
+ ezio.melotti, xiang.zhang, Tom Anderl |
2016-01-15 14:40:19 | ezio.melotti | set | messageid: <1452868819.47.0.234642027658.issue26084@psf.upfronthosting.co.za> |
2016-01-15 14:40:19 | ezio.melotti | link | issue26084 messages |
2016-01-15 14:40:19 | ezio.melotti | create | |
|