From 6eb051aa19ec7dfb7a67c858e06c4d0078e16d22 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 2 Mar 2008 01:12:39 +0000 Subject: [PATCH] fix silly regression on pre formatting --- rss2maildir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss2maildir.py b/rss2maildir.py index b0bc441..e8883b1 100755 --- 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()), \ -- 2.39.5