[openstreetmap/openstreetmap-website] Multiple consecutive spaces in tag display (#1386)

Harry Wood notifications at github.com
Tue Dec 6 11:07:53 UTC 2016


Wherever we are displaying tags, if the tags have multiple consecutive spaces, we're not displaying this at all. They get spat out in the HTML as space characters, but obviously browsers then ignore this, and display it as a single space. That's a (minor) problem, because users (or mappers who might fix this tagging issue) can't really see consecutive spaces very easily.

Currently there's an example here with lots of consecutive spaces in a name: http://www.openstreetmap.org/way/6199771

![screen shot 2016-12-06 at 11 03 10](https://cloud.githubusercontent.com/assets/227525/20923392/17dd7a2a-bba4-11e6-9328-2d741603cc6f.png)


but this applies to any tag, not just names, and to any number of space characters greater than 1. It also applies to any tag display, so even if somebody fixes the above example, we'll still see the problem lower down on this page: http://www.openstreetmap.org/way/6199771/history





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1386
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161206/0ef331e3/attachment.html>


More information about the rails-dev mailing list