projects
/
rss2maildir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad581cf
)
Fix typo/thinko in handle_startendtag
author
Brett Parker
<iDunno@sommitrealweird.co.uk>
Thu, 10 Jan 2008 18:08:23 +0000
(18:08 +0000)
committer
Brett Parker
<iDunno@sommitrealweird.co.uk>
Thu, 10 Jan 2008 18:08:23 +0000
(18:08 +0000)
rss2maildir.py
patch
|
blob
|
history
diff --git
a/rss2maildir.py
b/rss2maildir.py
index 04f20ce10661b74156dd8f69ecc0f610761256dd..4421811152a18c37b587f9e46e7568e28fb47760 100755
(executable)
--- 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.
open
tags.append(u'br')
self.handle_curdata() # just handle the data, don't do anything else
- self.tags.pop()
+ self.
open
tags.pop()
def handle_curdata(self):
if len(self.opentags) == 0: