[openstreetmap/openstreetmap-website] Translated texts containing `  ` are showed in routing directions without converting the HTML entity to its associated character (Issue #6163)

Tom Hughes notifications at github.com
Wed Jul 2 11:59:28 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#6163)

Yes HTML is only allowed in certain specific strings because rails has to treat anything that might contain HTML differently in order to avoid various security issues.

In general we expect translations to remain true to the formatting of the original and only change text and it's not really appropriate for a translator to try and control line breaks in this way - if you feel there is a problem with line breaking then raise it here and we can look for a way to resolve it because it will probably affect other translations as well.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6163#issuecomment-3027604063
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6163/3027604063 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250702/686ed08e/attachment-0001.htm>


More information about the rails-dev mailing list