diff --git a/kml.cc b/kml.cc index e0adc1a40..9dbe69c4f 100644 --- a/kml.cc +++ b/kml.cc @@ -1238,18 +1238,8 @@ QString KmlFormat::kml_geocache_get_logs(const Waypoint* wpt) const logpart = xml_findfirst(curlog, "groundspeak:text"); if (logpart) { - QString encstr = xml_attribute(logpart->attributes, "encoded"); - bool encoded = !encstr.startsWith('F', Qt::CaseInsensitive); - - QString s; - if (html_encrypt && encoded) { - s = rot13(logpart->cdata); - } else { - s = logpart->cdata; - } - r += "
"; - r += s.toHtmlEscaped(); + r += logpart->cdata.toHtmlEscaped(); } r += "

"; diff --git a/kml.h b/kml.h index 3ea9688bf..177e5df73 100644 --- a/kml.h +++ b/kml.h @@ -215,7 +215,6 @@ class KmlFormat : public Format int max_position_points{}; int rotate_colors{}; int line_width{}; - int html_encrypt{}; int precision{}; Waypoint* wpt_tmp{nullptr};