HTMLParser problems.

Terry Reedy tjreedy at udel.edu
Fri Oct 31 11:03:15 EST 2003


"Sean Cody" <sean at -[NOSPAMPLEASE]-tfh.ca> wrote in message
news:kwfob.10197$f7.552358 at localhost...
> I could try:
>         def handle_entityref(self,entity):
>                 if self.in_td == 1:
>                     if entity == "nbsp":
>                         self.row.append(-1)
>
> But that seems ulgy... (comments?).

Does this work?  For me, that comes first.

tjr






More information about the Python-list mailing list