mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
render background source labels as text, not html
This commit is contained in:
@@ -33,7 +33,7 @@ export function uiPanelBackground(context) {
|
||||
|
||||
list
|
||||
.append('li')
|
||||
.html(_currSourceName);
|
||||
.text(_currSourceName);
|
||||
|
||||
_metadataKeys.forEach(function(k) {
|
||||
// DigitalGlobe vintage is available in raster layers for now.
|
||||
|
||||
@@ -202,7 +202,7 @@ export function uiSectionBackgroundList(context) {
|
||||
|
||||
label
|
||||
.append('span')
|
||||
.html(function(d) { return d.label(); });
|
||||
.text(function(d) { return d.label(); });
|
||||
|
||||
enter.filter(function(d) { return d.id === 'custom'; })
|
||||
.append('button')
|
||||
@@ -225,7 +225,7 @@ export function uiSectionBackgroundList(context) {
|
||||
.placement((localizer.textDirection() === 'rtl') ? 'right' : 'left')
|
||||
)
|
||||
.append('span')
|
||||
.html('★');
|
||||
.text('★');
|
||||
|
||||
layerList
|
||||
.call(updateLayerSelections);
|
||||
|
||||
Reference in New Issue
Block a user