From 84a83e865e0c2e2dcf36a4b1d0db1813ae64b1bf Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 16 Apr 2015 13:22:18 +0200 Subject: [PATCH] Change of behavior when msg_body has more then 1000 lines --- talon/quotations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talon/quotations.py b/talon/quotations.py index dc77fd4..8e4f141 100644 --- a/talon/quotations.py +++ b/talon/quotations.py @@ -298,7 +298,7 @@ def extract_from_plain(msg_body): # don't process too long messages if len(lines) > MAX_LINES_COUNT: - return stripped_text + lines = stripped_text.split('\n', MAX_LINES_COUNT) markers = mark_message_lines(lines) lines = process_marked_lines(lines, markers)