From 1147767ff361c27965c8ef24573225213f799fc5 Mon Sep 17 00:00:00 2001 From: Esperat Julian Date: Sun, 4 Nov 2018 19:42:12 +0100 Subject: [PATCH] Fix regression: windows mail format was left forgotten Missing a | at the end of the regex, so next lines are part of the global search. --- talon/html_quotations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talon/html_quotations.py b/talon/html_quotations.py index 4001be5..a2db32d 100644 --- a/talon/html_quotations.py +++ b/talon/html_quotations.py @@ -99,7 +99,7 @@ def cut_microsoft_quote(html_message): splitter = html_message.xpath( #outlook 2007, 2010, 2013 (international, american) "//div[@style[re:match(., 'border:none; ?border-top:solid #(E1E1E1|B5C4DF) 1.0pt; ?" - "padding:3.0pt 0(in|cm) 0(in|cm) 0(in|cm)')]]" + "padding:3.0pt 0(in|cm) 0(in|cm) 0(in|cm)')]]|" #windows mail "//div[@style='padding-top: 5px; " "border-top-color: rgb(229, 229, 229); "