MCPcopy Create free account
hub / github.com/M66B/FairEmail / fromHtml

Method fromHtml

app/src/main/java/eu/faircode/email/HtmlHelper.java:4288–4292  ·  view source on GitHub ↗
(@NonNull String html, Context context)

Source from the content-addressed store, hash-verified

4286 }
4287
4288 static Spanned fromHtml(@NonNull String html, Context context) {
4289 Document parsed = JsoupEx.parse(html);
4290 Document document = sanitizeView(context, parsed, false);
4291 return fromDocument(context, document, null, null);
4292 }
4293
4294 static String toHtml(Spanned spanned, Context context) {
4295 HtmlEx converter = new HtmlEx(context);

Callers 10

getNotificationUnseenMethod · 0.95
onViewMethod · 0.95
onExecuteMethod · 0.95
onExceptionMethod · 0.95
fillMenuMethod · 0.95
showErrorMethod · 0.95
onExecutedMethod · 0.95
onItemSelectedMethod · 0.95
showErrorMethod · 0.95
onExecuteMethod · 0.95

Calls 3

parseMethod · 0.95
sanitizeViewMethod · 0.95
fromDocumentMethod · 0.95

Tested by

no test coverage detected