From 092cc348d62b9c442a296c092884e9797f77b5e983821a8a1128632b669a5d78 Mon Sep 17 00:00:00 2001 From: Johannes Randerath Date: Tue, 11 Jun 2024 21:33:24 +0200 Subject: [PATCH] Fixed a bug --- transport_accessibility/pt_map/templates/map.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transport_accessibility/pt_map/templates/map.html b/transport_accessibility/pt_map/templates/map.html index cf62edf..4c8509e 100644 --- a/transport_accessibility/pt_map/templates/map.html +++ b/transport_accessibility/pt_map/templates/map.html @@ -178,9 +178,9 @@ } function importGTFS() { - stops = JSON.parse('{{ stops }}'); - routes = JSON.parse('{{ routes }}'); - timetable = JSON.parse('{{ timetable }}'); + stops = JSON.parse('{{ stops|safe }}'); + routes = JSON.parse('{{ routes|safe }}'); + timetable = JSON.parse('{{ timetable|safe }}'); alert("Import existing GTFS clicked"); // Logic to import existing GTFS would go here