mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -05:00
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:
parent
84d5e7216d
commit
18cf923072
@ -2262,7 +2262,7 @@ public class LocalStore extends Store implements Serializable
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
text = text.replaceAll("^.*:","");
|
text = text.replaceAll("^.*\w.*:","");
|
||||||
text = text.replaceAll("(?m)^>.*$","");
|
text = text.replaceAll("(?m)^>.*$","");
|
||||||
text = text.replaceAll("^On .*wrote.?$","");
|
text = text.replaceAll("^On .*wrote.?$","");
|
||||||
text = text.replaceAll("(\\r|\\n)+"," ");
|
text = text.replaceAll("(\\r|\\n)+"," ");
|
||||||
|
Loading…
Reference in New Issue
Block a user