[OpenStreetMap] #4783: Way browse pages render soft hyphens in some places but not others
OpenStreetMap
trac at noreply.openstreetmap.org
Fri Feb 15 23:42:03 GMT 2013
#4783: Way browse pages render soft hyphens in some places but not others
---------------------------+-------------------------
Reporter: SomeoneElse | Owner: rails-dev@…
Type: defect | Status: new
Priority: trivial | Milestone:
Component: website | Version:
Keywords: hyphen browse |
---------------------------+-------------------------
This way:
http://www.openstreetmap.org/browse/way/202232243
Currently has soft hyphens (hex AD) in the value for the tag "name" in
"Hat-ton" and "Fos-ton".
The browse page renders the soft hyphen when it breaks the word there but
not when it doesn't. I'd expect it to be consistent and always render a
character even when the word isn't broken.
To reproduce, view that page and reduce the browser width until the text
"(part of way Foston Hatton Hilton Bypass (202232241))" is split at
"Hatton". It'll appear as:
Foston Hat-
ton Hilton
i.e. a hyphen character has appeared, but wasn't visible previously, and
isn't visible when the word isn't broken.
In this particular case I believe that the fact that a name tag is even
present (never mind with hex AD in it) is an error in the data, but apart
from that I'd suggest that the browse page ought to render it
consistently.
The OSM standard map, FWIW, always seems to render some sort of hyphen
there.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4783>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list