Skip to content

Conversation

@Kaushik4141
Copy link
Contributor

@Kaushik4141 Kaushik4141 commented Jan 14, 2026

Removed lodash escape() calls from background_source.js The localizer's
t.append() uses D3's .text() which already handles special characters
safely causing pre-escaped & to display literally
Fixes #9098
image

@Kaushik4141 Kaushik4141 changed the title fix remove double-escaping of & in background layer names (#9098) fix remove double-escaping of & in background layer names (#9098) Jan 14, 2026
@Kaushik4141 Kaushik4141 changed the title fix remove double-escaping of & in background layer names (#9098) fix #9098 remove double-escaping of & in background layer names (#9098) Jan 14, 2026
@Kaushik4141 Kaushik4141 changed the title fix #9098 remove double-escaping of & in background layer names (#9098) fix remove double-escaping of & in background layer names (#9098) Jan 14, 2026
@k-yle k-yle added the bug A bug - let's fix this! label Jan 14, 2026
Copy link
Member

@tyrasd tyrasd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tyrasd tyrasd merged commit f5bbfb7 into openstreetmap:develop Jan 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A bug - let's fix this!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Background names are double-escaped

3 participants