mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-14 16:49:49 +01:00
Set default font only when text
This commit is contained in:
@@ -563,7 +563,8 @@ public class MessageHelper {
|
||||
|
||||
if (send) {
|
||||
for (Element child : document.body().children())
|
||||
if (TextUtils.isEmpty(child.attr("fairemail"))) {
|
||||
if (!TextUtils.isEmpty(child.text()) &&
|
||||
TextUtils.isEmpty(child.attr("fairemail"))) {
|
||||
String style = HtmlHelper.mergeStyles(
|
||||
"font-family:" + compose_font, child.attr("style"));
|
||||
child.attr("style", style);
|
||||
|
||||
Reference in New Issue
Block a user