(@NonNull String html, Context context)
| 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); |
no test coverage detected