@Nullable
    private static Spanned removeHtmlBottomPadding(@Nullable Spanned text) {
        if (text == null) {
            return null;
        }

        while (text.length() > 0 && text.charAt(text.length() - 1) == '\n') {
            text = (Spanned) text.subSequence(0, text.length() - 1);
        }
        return text;
    }
Html.fromHtml sometimes adds extra space at the bottom.
This methods removes this space again.
See https://github.com/SufficientlySecure/html-textview/issues/19
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/html/HtmlFormatter.java