From: Brett Parker Date: Sun, 2 Mar 2008 01:12:39 +0000 (+0000) Subject: fix silly regression on pre formatting X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/commitdiff_plain/6eb051aa19ec7dfb7a67c858e06c4d0078e16d22?ds=sidebyside fix silly regression on pre formatting --- 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()), \