]> git.sommitrealweird.co.uk Git - rss2maildir.git/blobdiff - rss2maildir.py
fix silly regression on pre formatting
[rss2maildir.git] / rss2maildir.py
index b0bc441d09b23c56807d993ff98c9f9c09372dde..e8883b1200dd5fd80d58ec890a7cbb733d15877d 100755 (executable)
@@ -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()), \