+ '<a href="details.html?place_id=' + aFeature.place_id + '">' + sTitle + '</a>'
+ );
+ },
+ detailsPermaLink: function(aFeature, sTitle) {
+ if (!aFeature) return '';
+
+ var sOSMType = formatOSMType(aFeature.osm_type, false);
+ if (!sOSMType) return '';
+
+ sTitle = Handlebars.escapeExpression(sTitle || sOSMType + ' ' + aFeature.osm_id);
+
+ return new Handlebars.SafeString(
+ '<a href="details.html?osmtype=' + aFeature.osm_type + '&osmid=' + aFeature.osm_id + '&class=' + aFeature.class + '">' + sTitle + '</a>'