diff options
-rw-r--r-- | askbot/lamson_handlers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/askbot/lamson_handlers.py b/askbot/lamson_handlers.py index e7928d52..dd7af597 100644 --- a/askbot/lamson_handlers.py +++ b/askbot/lamson_handlers.py @@ -229,8 +229,9 @@ def VALIDATE_EMAIL( tail.insert(0, line) #strip off the leading quoted lines, there could be one or two - while tail[0].startswith('>'): - line.pop(0) + #also strip empty lines + while tail[0].startswith('>') or tail[0].strip() == '': + tail.pop(0) signature = '\n'.join(tail) |