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 tksmashiw
Recipients ggenellina, kawai, tksmashiw
Date 2009-01-27.09:57:57
SpamBayes Score 0.0068502985
Marked as misclassified No
Message-id <1233050279.36.0.555570547754.issue5036@psf.upfronthosting.co.za>
In-reply-to
Content
From msg80438
>You should reset it by self.data = '' at end_element().

It seems that we should reset it at start_element() like this,
============================
def start_element(self, name, attrs):
  ...abbr...
  if name == 'link':
    self.data = ''
=============================
or unwanted \s, \t, and \n mix in "self.data".
That's all, thanks.
History
Date User Action Args
2009-01-27 09:57:59tksmashiwsetrecipients: + tksmashiw, ggenellina, kawai
2009-01-27 09:57:59tksmashiwsetmessageid: <1233050279.36.0.555570547754.issue5036@psf.upfronthosting.co.za>
2009-01-27 09:57:58tksmashiwlinkissue5036 messages
2009-01-27 09:57:57tksmashiwcreate