Only strip : lines containing word characters. This should improve the

preview when someone sends mail starting with a time. (12:01)
This commit is contained in:
Jesse Vincent 2010-06-06 21:32:57 +00:00
parent 84d5e7216d
commit 18cf923072
1 changed files with 1 additions and 1 deletions

View File

@ -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)+"," ");