X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/17148f77fac59add006e131c439b41da9d8d2b43..f92907698bb8e9edcdfc09b557c5e1ef2fbc22c1:/rss2maildir.py diff --git a/rss2maildir.py b/rss2maildir.py index 86387f9..47ba9dc 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -188,7 +188,7 @@ class HTML2Text(HTMLParser): u'dt', u'dd', u'div', - #u'blockquote', + u'blockquote', ] liststarttags = [ @@ -407,11 +407,11 @@ class HTML2Text(HTMLParser): quote = unicode( \ " ".join(self.curdata.encode("utf-8").strip().split()), \ "utf-8") - seperator = u'\n' + u' ' * self.indentlevel + u'> ' + seperator = u'\n' + u' ' * self.indentlevel + u' ' if len(self.text) > 0 and self.text[-1] != u'\n': self.text = self.text + u'\n' self.text = self.text \ - + u'> ' \ + + u' ' \ + seperator.join( \ textwrap.wrap( \ quote, \