diff options
| -rw-r--r-- | main/res/values/changelog_release.xml | 2 | ||||
| -rw-r--r-- | main/src/cgeo/geocaching/LogEntry.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/main/res/values/changelog_release.xml b/main/res/values/changelog_release.xml index 671814d..312a949 100644 --- a/main/res/values/changelog_release.xml +++ b/main/res/values/changelog_release.xml @@ -10,6 +10,8 @@ · Log password field missing for OC if changing log type\n · Send2cgeo import screen not shown on second import start\n · Fixed parsing of waypoints from personal note if no valid coords stored\n + · Special log types for unpublished caches now recognized correct\n + · HTML entities in image titles are properly decoded\n \n <b>2014.02.04:</b>\n · Reinstate parsing of trackable name and owner after gc.com change\n diff --git a/main/src/cgeo/geocaching/LogEntry.java b/main/src/cgeo/geocaching/LogEntry.java index b922398..fde0564 100644 --- a/main/src/cgeo/geocaching/LogEntry.java +++ b/main/src/cgeo/geocaching/LogEntry.java @@ -3,6 +3,7 @@ package cgeo.geocaching; import cgeo.geocaching.enumerations.LogType; import cgeo.geocaching.settings.Settings; import cgeo.geocaching.utils.DateUtils; +import cgeo.geocaching.utils.HtmlUtils; import cgeo.geocaching.utils.MatcherWrapper; import org.apache.commons.collections4.CollectionUtils; @@ -85,7 +86,7 @@ public final class LogEntry { final List<String> titles = new ArrayList<String>(5); for (Image image : getLogImages()) { if (StringUtils.isNotBlank(image.getTitle())) { - titles.add(image.getTitle()); + titles.add(HtmlUtils.extractText(image.getTitle())); } } if (titles.isEmpty()) { |
