mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
to HTML with font family
This commit is contained in:
@@ -81,7 +81,7 @@ public class EditTextCompose extends FixedEditText {
|
||||
}
|
||||
|
||||
Document document = HtmlHelper.sanitizeCompose(context, html, false);
|
||||
Spanned paste = HtmlHelper.fromHtml(document.html(), new Html.ImageGetter() {
|
||||
Spanned paste = HtmlHelper.fromDocument(getContext(), document, new Html.ImageGetter() {
|
||||
@Override
|
||||
public Drawable getDrawable(String source) {
|
||||
return ImageHelper.decodeImage(getContext(),
|
||||
|
||||
Reference in New Issue
Block a user