diff -ru newspipe.orig/html2text.py newspipe/html2text.py
--- newspipe.orig/html2text.py Wed Sep 1 22:49:18 2004
+++ newspipe/html2text.py Fri May 11 20:39:26 2007
@@ -321,7 +321,7 @@
#self.out(" :") #TODO: not output when already one there
self.startpre = 0
- bq = (">" * self.blockquote)
+ bq = ("> " * self.blockquote)
if not (force and data and data[0] == ">") and self.blockquote: bq += " "
if self.pre:
diff -ru newspipe.orig/newspipe.py newspipe/newspipe.py
--- newspipe.orig/newspipe.py Sun Jul 17 21:23:28 2005
+++ newspipe/newspipe.py Tue May 8 21:24:28 2007
@@ -840,7 +840,10 @@
self.texto_nuevo = self.texto_nuevo.decode(encoding, 'replace')
# end try
# end if
- self.texto_nuevo = corregirEntitys(self.texto_nuevo)
+
+ # HTML entities are a Bad Thing
+ # self.texto_nuevo = corregirEntitys(self.texto_nuevo)
+
self.subject = GetValue (original.get('title', ''))
if not self.subject:
@@ -930,7 +933,7 @@
body = self.texto
text_version = getPlainText (body)
- text_version = text_version + "\n\n" + "Home: [" + self.channel.htmlUrl + "]\n" + "Link: [ " + self.link + " ]\n"
+ text_version = text_version + "\n\n" + "Home:\n " + self.channel.htmlUrl + "\n" + "Link:\n " + self.link + "\n"
if self.enclosures:
for enclosure in self.enclosures:
@@ -1008,7 +1011,7 @@
else:
subject = self.subject
- to_header = ', '.join(['"%s" <%s>"' % (destinatario[0], each.strip()) for each in destinatario[1].split(',')])
+ to_header = ', '.join(['"%s" <%s>' % (destinatario[0], each.strip()) for each in destinatario[1].split(',')])
if from_address:
from_header = from_address
else: