Message102436
But changing the HTMLParser.goahead's way to treating tags from
if i < j: self.handle_data(rawdata[i:j]) TO
if i <= j: self.handle_data(rawdata[i:j]
is not the correct way to deal with this problem. Theoretically, whatever it is doing seems correct. As there is no data, don't call handle_data.
I can understand your testcase, and I think there is some other way to handle the test you are mentioning.
If you change the above line, many of the existing tests may fail, so that *may not be* way to go. |
|
Date |
User |
Action |
Args |
2010-04-06 04:29:53 | orsenthil | set | recipients:
+ orsenthil, wplappert |
2010-04-06 04:29:53 | orsenthil | set | messageid: <1270528193.02.0.496419720867.issue8319@psf.upfronthosting.co.za> |
2010-04-06 04:29:51 | orsenthil | link | issue8319 messages |
2010-04-06 04:29:49 | orsenthil | create | |
|