summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/widgets/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py
index 71469e27..e05dea01 100644
--- a/alot/widgets/search.py
+++ b/alot/widgets/search.py
@@ -186,6 +186,7 @@ def prepare_content_string(thread):
msgs = sorted(thread.get_messages().keys(),
key=lambda msg: msg.get_date(), reverse=True)
lastcontent = ' '.join(m.get_text_content() for m in msgs)
+ lastcontent = lastcontent.replace('^>.*$', '')
return lastcontent