lib/ratis/timetable.rb in ratis-3.4.3 vs lib/ratis/timetable.rb in ratis-3.5.0
- old
+ new
@@ -32,11 +32,11 @@
timetable.effective = headway[:effective]
timepoints_array = []
headway[:timepoints][:stop].each_with_index do |tp, i|
- timepoints_array << Timetable::Stop.new(i, tp[:atisstopid], tp[:stopid], tp[:description], tp[:area])
+ timepoints_array << Timetable::Stop.new(i, tp[:atisstopid], tp[:stopid], CGI.unescapeHTML(tp[:description]), tp[:area])
end rescue []
timetable.timepoints = timepoints_array
trips_array = []
@@ -47,11 +47,7 @@
timetable.trips = trips_array
timetable
end
-
-
-
end
-
end