Message152806
| Author | ezio.melotti |
|---|---|
| Recipients | eric.araujo, ezio.melotti |
| Date | 2012-02-07.11:56:33 |
| SpamBayes Score | 0.009046208 |
| Marked as misclassified | No |
| Message-id | <1328615796.36.0.0693404155355.issue13960@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
html.parser fails to handle the following invalid comments: <! foo > <! bar --> <! -- baz --> The attached patch follows the HTML5 specs [0], and parses them as "bogus comments". Currently the patch fixes the problem only when strict=False, but it might be better to make this the default behavior and apply it to 2.7 too. [0]: http://www.w3.org/TR/html5/tokenization.html#bogus-comment-state |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-02-07 11:56:36 | ezio.melotti | set | recipients: + ezio.melotti, eric.araujo |
| 2012-02-07 11:56:36 | ezio.melotti | set | messageid: <1328615796.36.0.0693404155355.issue13960@psf.upfronthosting.co.za> |
| 2012-02-07 11:56:35 | ezio.melotti | link | issue13960 messages |
| 2012-02-07 11:56:35 | ezio.melotti | create | |