mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-30 17:00:35 +02:00
Another place where we should delimit name suggestion on en-dash
see 20bcfc573
This commit is contained in:
@@ -364,8 +364,9 @@ export function uiPresetList(context) {
|
||||
.append('div')
|
||||
.attr('class', 'label-inner');
|
||||
|
||||
// NOTE: split/join on en-dash, not a hypen (to avoid conflict with fr - nl names in Brussels etc)
|
||||
label.selectAll('.namepart')
|
||||
.data(preset.name().split(' - '))
|
||||
.data(preset.name().split(' – '))
|
||||
.enter()
|
||||
.append('div')
|
||||
.attr('class', 'namepart')
|
||||
|
||||
Reference in New Issue
Block a user