Project-OSRM / osrm-text-instructions

Text instructions from OSRM route responses
BSD 2-Clause "Simplified" License
90 stars 63 forks source link

Call formatToken on bare refs and names #193

Closed 1ec5 closed 6 years ago

1ec5 commented 6 years ago

When the step’s way has only a ref or a name, call formatToken to give the client the opportunity to manipulate that ref or name, just as it would if the way has both a ref and a name.

/cc @mcwhittemore

1ec5 commented 6 years ago

Can we get some tests so that we know this doesn't get broken in the future.

Added in 65a28cdce1b0f43ca46f6482a089572b50d6e42b.