public static CharSequence encode(final String html,
                                      final ImageGetter imageGetter) {
        if (TextUtils.isEmpty(html)) {
            return "";
        }

        return Html.fromHtml(html, imageGetter, TAG_HANDLER);
    }
Encode HTML

@param html
@param imageGetter
@return html
app/src/main/java/com/github/pockethub/android/util/HtmlUtils.java