X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/47c98c8b7067c9146f49746be76ad23a4b877806..95250ed0bbd4f1778709f8482aacaac6639af2d8:/rss2maildir.py?ds=inline 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: