diff --git a/worldmap-save.c b/worldmap-save.c index e7448fd4e..c223ca333 100644 --- a/worldmap-save.c +++ b/worldmap-save.c @@ -99,7 +99,7 @@ void writeMarkers(struct membuffer *b, const bool selected_only) put_degrees(b, dive->latitude, "temp = new google.maps.Marker({position: new google.maps.LatLng(", ""); put_degrees(b, dive->longitude, ",", ")});\n"); put_string(b, "markers.push(temp);\ntempinfowindow = new google.maps.InfoWindow({content: '
'+'
'+'
'+'
"); - put_format(b, "

%s

", dive->location); + put_format(b, "

%s

", quote(dive->location)); put_HTML_date(b, dive); put_duration(b, dive->duration, "

Duration: ", " min

"); put_depth(b, dive->maxdepth, "

Max Depth: ", " m

");