diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-26 21:40:43 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-03-26 21:40:43 +0100 |
commit | 3a568e5dbd1b7afd2a872af232e8bd0ff948f48d (patch) | |
tree | ea8c4e6ea9e1a48bf452497fe31dc582cdd19f8a /templates | |
parent | 1b1b4d42748e139d5d3e043af70c8a91400ff3b0 (diff) |
app: escape ÖBB journey IDs
Diffstat (limited to 'templates')
-rw-r--r-- | templates/app.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep index 360a2f0..29441a1 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -31,7 +31,7 @@ % } <li % if (param('hafas')) { - data-jid="<%= $departure->{journey_id} %>" + data-jid="<%= $departure->{journey_id} =~ s{#}{%23}gr %>" % } data-train="<%= ($departure->{train_type} // q{}) %> <%= ($departure->{train_no} // $departure->{train} // q{}) %>" data-line="<%= $departure->{train_type} %> <%= $departure->{train_line} // $departure->{train_no} %>" |