public static SpannableString coloredCacheText(final Context context, @NonNull final Geocache cache, @NonNull final String text) {
        final SpannableString span = new SpannableString(text);
        if (CalendarUtils.isPastEvent(cache)) { // italics
            span.setSpan(new StyleSpan(Typeface.ITALIC), 0, span.length(), 0);
        }
        if (cache.isDisabled() || cache.isArchived()) { // strike
            span.setSpan(new StrikethroughSpan(), 0, span.toString().length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
        }
        if (cache.isArchived()) {
            span.setSpan(new ForegroundColorSpan(ContextCompat.getColor(context, R.color.archived_cache_color)), 0, span.toString().length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
        }
        return span;
    }
Convert a potentially HTML string into a plain-text one. If the string does not contain HTML markup,
it is returned unchanged.

@param html a string containing either HTML or plain text
@return a string without any HTML markup
main/src/main/java/cgeo/geocaching/utils/TextUtils.java