From 95250ed0bbd4f1778709f8482aacaac6639af2d8 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Thu, 10 Jan 2008 18:08:23 +0000 Subject: [PATCH 1/1] Fix typo/thinko in handle_startendtag --- rss2maildir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rss2maildir.py b/rss2maildir.py index 04f20ce..4421811 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -151,9 +151,9 @@ class HTML2Text(HTMLParser): def handle_startendtag(self, tag, attrs): if tag.lower() == u'br': - self.tags.append(u'br') + self.opentags.append(u'br') self.handle_curdata() # just handle the data, don't do anything else - self.tags.pop() + self.opentags.pop() def handle_curdata(self): if len(self.opentags) == 0: -- 2.39.5