projects
/
rss2maildir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a1184
)
fix silly regression on pre formatting
author
Brett Parker
<iDunno@sommitrealweird.co.uk>
Sun, 2 Mar 2008 01:12:39 +0000
(
01:12
+0000)
committer
Brett Parker
<iDunno@sommitrealweird.co.uk>
Sun, 2 Mar 2008 01:12:39 +0000
(
01:12
+0000)
rss2maildir.py
patch
|
blob
|
history
diff --git
a/rss2maildir.py
b/rss2maildir.py
index b0bc441d09b23c56807d993ff98c9f9c09372dde..e8883b1200dd5fd80d58ec890a7cbb733d15877d 100755
(executable)
--- a/
rss2maildir.py
+++ b/
rss2maildir.py
@@
-286,7
+286,7
@@
class HTML2Text(HTMLParser):
paragraph, self.textwidth - self.indentlevel))
elif tag_thats_done == "pre":
self.text = self.text + unicode( \
-
" ".join(self.curdata.encode("utf-8").split()
), "utf-8")
+
self.curdata.encode("utf-8"
), "utf-8")
elif tag_thats_done == u'blockquote':
quote = unicode( \
" ".join(self.curdata.encode("utf-8").strip().split()), \