to HTML with font family

This commit is contained in:
M66B
2020-06-28 20:43:20 +02:00
parent 4a01c00f4e
commit e4958c0874
11 changed files with 518 additions and 31 deletions

View File

@@ -122,7 +122,7 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
CharSequence body = intent.getCharSequenceExtra(Intent.EXTRA_TEXT);
if (body != null)
if (body instanceof Spanned)
args.putString("body", HtmlHelper.toHtml((Spanned) body));
args.putString("body", HtmlHelper.toHtml((Spanned) body, this));
else {
String text = body.toString();
if (!TextUtils.isEmpty(text)) {