don't replace all the spaces
This commit is contained in:
parent
7eac7be762
commit
b8c2a16f92
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ c3nav = {
|
|||
len = segment.length;
|
||||
}
|
||||
}
|
||||
var html = $('<div class="location-label-text">').append($('<span>').html((' '+new_text.join(' <br> ')+' ').replace(/ /g, ' ')));
|
||||
var html = $('<div class="location-label-text">').append($('<span>').html(' '+new_text.join(' <br> ')+' '));
|
||||
html.css('font-size', location.label_settings.font_size+'px');
|
||||
return L.marker(L.GeoJSON.coordsToLatLng(location.point.slice(1)), {
|
||||
icon: L.divIcon({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue