mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
62161cf556
commit
363675ab83
|
@ -3809,12 +3809,8 @@ public class HtmlHelper {
|
|||
}
|
||||
|
||||
static Spanned fromHtml(@NonNull String html, Context context) {
|
||||
return fromHtml(html, null, null, context);
|
||||
}
|
||||
|
||||
static Spanned fromHtml(@NonNull String html, @Nullable ImageGetterEx imageGetter, @Nullable Html.TagHandler tagHandler, Context context) {
|
||||
Document document = JsoupEx.parse(html);
|
||||
return fromDocument(context, document, imageGetter, tagHandler);
|
||||
return fromDocument(context, document, null, null);
|
||||
}
|
||||
|
||||
static String toHtml(Spanned spanned, Context context) {
|
||||
|
|
Loading…
Reference in New Issue