Simplification

This commit is contained in:
M66B 2022-11-13 19:53:10 +01:00
parent 62161cf556
commit 363675ab83
1 changed files with 1 additions and 5 deletions

View File

@ -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) {