diff --git a/WebContent/routing.js b/WebContent/routing.js
index 7da8efa8b..0cf5707cb 100644
--- a/WebContent/routing.js
+++ b/WebContent/routing.js
@@ -181,14 +181,14 @@ function showRouteDescription(response) {
route_desc += '';
headline = "";
headline += OSRM.loc("ROUTE_DESCRIPTION")+":
";
- headline += '
';
+ headline += '
';
headline += ""
+ OSRM.loc("DISTANCE")+": " + getDistanceWithUnit(response.route_summary.total_distance)
- + " - "
+ + "
"
+ OSRM.loc("DURATION")+": " + secondsToTime(response.route_summary.total_time)
+ "";
headline += '
';
- headline += '
'+route_link+'
'+gpx_link+'
';
+ headline += '
'+route_link+'
'+gpx_link+'
';
var output = "";
output += route_desc;
diff --git a/WebContent/utils.js b/WebContent/utils.js
index 405cb1377..d59948aff 100644
--- a/WebContent/utils.js
+++ b/WebContent/utils.js
@@ -39,7 +39,7 @@ function secondsToTime(seconds){
return minutes + ' ' + 'min';
}
else{
- return hours + ' ' + 'h' + ' ' + minutes + ' ' + 'min';
+ return hours + ' ' + 'h' + ' ' + minutes + ' ' + 'min';
}
}