Loading lib/Travelynx/Helper/HAFAS.pm +2 −0 Original line number Diff line number Diff line package Travelynx::Helper::HAFAS; # Copyright (C) 2020 Daniel Friesel # # SPDX-License-Identifier: MIT Loading Loading @@ -194,6 +195,7 @@ sub get_xml_p { # More fixes for invalid XML $body =~ s{P&R}{P&R}; $body =~ s{Wagen \d+ \K&(?= )}{&}; # <Attribute [...] text="[...] "[...]"" /> is invalid XML. # Work around it. Loading Loading
lib/Travelynx/Helper/HAFAS.pm +2 −0 Original line number Diff line number Diff line package Travelynx::Helper::HAFAS; # Copyright (C) 2020 Daniel Friesel # # SPDX-License-Identifier: MIT Loading Loading @@ -194,6 +195,7 @@ sub get_xml_p { # More fixes for invalid XML $body =~ s{P&R}{P&R}; $body =~ s{Wagen \d+ \K&(?= )}{&}; # <Attribute [...] text="[...] "[...]"" /> is invalid XML. # Work around it. Loading