From 18cf923072a02d9222ea52eb47fa011d7b957090 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 6 Jun 2010 21:32:57 +0000 Subject: [PATCH] Only strip : lines containing word characters. This should improve the preview when someone sends mail starting with a time. (12:01) --- src/com/fsck/k9/mail/store/LocalStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/store/LocalStore.java b/src/com/fsck/k9/mail/store/LocalStore.java index a60539799..d03f2e537 100644 --- a/src/com/fsck/k9/mail/store/LocalStore.java +++ b/src/com/fsck/k9/mail/store/LocalStore.java @@ -2262,7 +2262,7 @@ public class LocalStore extends Store implements Serializable return null; } - text = text.replaceAll("^.*:",""); + text = text.replaceAll("^.*\w.*:",""); text = text.replaceAll("(?m)^>.*$",""); text = text.replaceAll("^On .*wrote.?$",""); text = text.replaceAll("(\\r|\\n)+"," ");