1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Let (semi) colon end sentences

This commit is contained in:
M66B 2024-12-21 13:07:55 +01:00
parent 35ec9857e5
commit c6ad264b66

View file

@ -2793,13 +2793,13 @@ public class Helper {
}
static boolean isEndChar(char c) {
return (isSentenceChar(c) ||
c == ',' || c == ':' || c == ';');
return (isSentenceChar(c) || c == ',');
}
static boolean isSentenceChar(char c) {
return (c == '.' /* Latin */ ||
c == '。' /* Chinese */ ||
c == ':' || c == ';' ||
c == '?' || c == '!');
}