mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Refactoring
This commit is contained in:
@@ -1748,6 +1748,14 @@ public class HtmlHelper {
|
||||
return false;
|
||||
}
|
||||
|
||||
static Spanned fromDocument(@NonNull Document document) {
|
||||
return fromDocument(document, null, null);
|
||||
}
|
||||
|
||||
static Spanned fromDocument(@NonNull Document document, @Nullable Html.ImageGetter imageGetter, @Nullable Html.TagHandler tagHandler) {
|
||||
return fromHtml(document.html(), imageGetter, null);
|
||||
}
|
||||
|
||||
static Spanned fromHtml(@NonNull String html) {
|
||||
return fromHtml(html, null, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user