strip content (closes #639)

This commit is contained in:
Romain Bignon 2011-04-16 13:48:17 +02:00
commit 16c0c5174f

View file

@ -134,7 +134,7 @@ class MailParser(object):
content += self.smileys[int(m.group(1))]
except KeyError:
error('Mail: unable to find this smiley: %s' % c.getAttribute('src'))
self.content = content
self.content = content.strip()
break
self.parse_profile_link()