From 76f59b8a23b64ac737259f57319c87b3016d80a7 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Thu, 13 Jun 2013 19:31:16 +0200 Subject: fix #2877: empty trackables page --- main/src/cgeo/geocaching/utils/HtmlUtils.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/src') diff --git a/main/src/cgeo/geocaching/utils/HtmlUtils.java b/main/src/cgeo/geocaching/utils/HtmlUtils.java index 8d4eed1..89b1070 100644 --- a/main/src/cgeo/geocaching/utils/HtmlUtils.java +++ b/main/src/cgeo/geocaching/utils/HtmlUtils.java @@ -20,6 +20,9 @@ public class HtmlUtils { * @return */ public static String extractText(CharSequence html) { + if (StringUtils.isBlank(html)) { + return StringUtils.EMPTY; + } String result = html.toString(); // recognize images in textview HTML contents -- cgit v1.1