From 03cd0ac391bbd0ae9d01cb085ae9c16665255b17 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Thu, 8 Nov 2018 20:30:00 +0000 Subject: don't include quoted lines in msg content summary --- alot/widgets/search.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3