mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Trim names
This commit is contained in:
@@ -170,6 +170,9 @@ public class EntityAnswer implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
first = Helper.trim(first, ".");
|
||||
last = Helper.trim(last, ".");
|
||||
|
||||
text = text.replace("$name$", fullName == null ? "" : Html.escapeHtml(fullName));
|
||||
text = text.replace("$firstname$", first == null ? "" : Html.escapeHtml(first));
|
||||
text = text.replace("$lastname$", last == null ? "" : Html.escapeHtml(last));
|
||||
|
||||
Reference in New Issue
Block a user