public static boolean containsHtml(@Nullable final String str) {
        if (StringUtils.isBlank(str)) {
            return false;
        }
        return PATTERN_CONTAINS_HTML.matcher(str).find();
    }
Quick and naive check for possible rich HTML content in a string.

@param str A string containing HTML code.
@return <tt>true</tt> if <tt>str</tt> contains HTML code that needs to go through a HTML renderer before
being displayed, <tt>false</tt> if it can be displayed as-is without any loss
main/src/main/java/cgeo/geocaching/utils/TextUtils.java