<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/6280373?s=20&v=4" /><strong>ricloy</strong> created an issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6163">(openstreetmap/openstreetmap-website#6163)</a></div>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://www.openstreetmap.org/directions?locale=et&engine=fossgis_osrm_car&route=43.96236%2C11.30708%3B43.96151%2C11.30427#map=18/43.961907/11.305688" rel="nofollow">https://www.openstreetmap.org/directions?locale=et&engine=fossgis_osrm_car&route=43.96236%2C11.30708%3B43.96151%2C11.30427#map=18/43.961907/11.305688</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">Wherever translated text <a href="https://translatewiki.net/w/i.php?title=Special:Translations&message=Osm%3AJavascripts.directions.distance_in_units.m" rel="nofollow">Osm:Javacript.directions.distance_in_units.m</a> contains the HTML entity <code class="notranslate">&nbsp;</code>, OSM website literally shows <code class="notranslate">&nbsp;</code> without parsing it.</p>
<p dir="auto">To see the problem, just switch to Eesti language and then query for directions from any point to any point of the map:</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/2fb15eec-7adb-4ffb-b180-eedb95dc43c3">immagine.png (view on web)</a></p>
<p dir="auto">I think that OSM website should convert it to a non-breaking space character and show that to the user.</p>
<p dir="auto">Another possibility, on translators side, could be to directly insert the UTF-8 encodings of non-breaking chars (U+00A0) into the translated text but they are not visually distinguishable from ordinary space chars, hence they might be "corrected" by other translators every once in a while.</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><em>No response</em></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6163">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJZEJPSWTOIGRFIYH33GOV2ZAVCNFSM6AAAAACATPJIHWVHI2DSMVQWIX3LMV43ASLTON2WKOZTGE4TKMZVHAZTSNI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIZ4F73TGBDNYT37KT3GOV2ZA5CNFSM6AAAAACATPJIHWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHL45KMXM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/6163</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>

<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/6163",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6163",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>