diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-09-19 11:57:37 -0600 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-09-19 11:57:37 -0600 |
commit | e3080a020d39d611b9afe1fdaf1213c2984337ce (patch) | |
tree | f041d8118ff60a5745b7a16f9040dd3f5db50f89 /askbot/mail | |
parent | 0a4b87e237fad26b6d135aca9173bc4d8af57e7f (diff) | |
download | askbot-e3080a020d39d611b9afe1fdaf1213c2984337ce.tar.gz askbot-e3080a020d39d611b9afe1fdaf1213c2984337ce.tar.bz2 askbot-e3080a020d39d611b9afe1fdaf1213c2984337ce.zip |
fixed test and removed unused code in extract signature
Diffstat (limited to 'askbot/mail')
-rw-r--r-- | askbot/mail/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/askbot/mail/__init__.py b/askbot/mail/__init__.py index d4f83310..2d314dbc 100644 --- a/askbot/mail/__init__.py +++ b/askbot/mail/__init__.py @@ -287,9 +287,7 @@ def process_attachment(attachment): def extract_user_signature(text, reply_code): """extracts email signature as text trailing the reply code""" - #FIXME: buggy in html code - #striped_text = clean_html_email(text.replace('<br>', '\n')) - striped_text = strip_tags(text.replace('<br>', '\n')) + striped_text = strip_tags(text) if reply_code in striped_text: #extract the signature tail = list() |