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.
This commit is contained in:
Esperat Julian
2018-11-04 19:42:12 +01:00
committed by GitHub
parent afff08b017
commit 1147767ff3

View File

@@ -99,7 +99,7 @@ def cut_microsoft_quote(html_message):
splitter = html_message.xpath( splitter = html_message.xpath(
#outlook 2007, 2010, 2013 (international, american) #outlook 2007, 2010, 2013 (international, american)
"//div[@style[re:match(., 'border:none; ?border-top:solid #(E1E1E1|B5C4DF) 1.0pt; ?" "//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 #windows mail
"//div[@style='padding-top: 5px; " "//div[@style='padding-top: 5px; "
"border-top-color: rgb(229, 229, 229); " "border-top-color: rgb(229, 229, 229); "