diff --git a/features/guidance/exit-numbers-names.feature b/features/guidance/exit-numbers-names.feature index 923ad01a8..bb8483f56 100644 --- a/features/guidance/exit-numbers-names.feature +++ b/features/guidance/exit-numbers-names.feature @@ -41,8 +41,8 @@ Feature: Exit Numbers and Names | ef | motorway_link | ExitRamp | | When I route I should get - | waypoints | route | turns | exits | - | a,f | MainRoad,ExitRamp,ExitRamp | depart,off ramp slight right,arrive | ,10;12, | + | waypoints | route | turns | exits | + | a,f | MainRoad,ExitRamp,ExitRamp | depart,off ramp slight right,arrive | ,10; 12, | Scenario: Exit number on the ways after the motorway junction, multiple exits diff --git a/profiles/lib/handlers.lua b/profiles/lib/handlers.lua index 0b9381c75..28b2981da 100644 --- a/profiles/lib/handlers.lua +++ b/profiles/lib/handlers.lua @@ -48,7 +48,7 @@ function Handlers.handle_names(way,result,data,profile) end if exits then - result.exits = exits + result.exits = canonicalizeStringList(exits, ";") end end