diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm index 77bd52b..e04245b 100644 --- a/lib/Travelynx/Helper/HAFAS.pm +++ b/lib/Travelynx/Helper/HAFAS.pm @@ -203,8 +203,11 @@ sub get_xml_p { =~ s{]+)text="([^"]*)"([^"=]*)""}{. - $body - =~ s{]+)lead="([^"]*)
([^"=]*)"}{]+)lead="([^"]*)
([^"=]*)"}{load_xml( string => $body ) }; if ( my $err = $@ ) {