1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Remove soft hyphens

This commit is contained in:
M66B 2022-02-15 14:57:24 +01:00
parent e12bd4dcc6
commit 4c73f8dcc4

View file

@ -2763,6 +2763,9 @@ public class HtmlHelper {
continue; continue;
} }
// ­
text = text.replace("\u00ad", "");
// Fold white space // Fold white space
text = FOLD_WHITESPACE.matcher(text).replaceAll(" "); text = FOLD_WHITESPACE.matcher(text).replaceAll(" ");