From d446b73edd84565948702e3418f17a8c5e04aa9e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Feb 2021 23:17:33 +0100 Subject: HAFAS: Handle
tags in HTML attributes --- lib/DBInfoscreen/Helper/HAFAS.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index f0da6e7..a7c07c3 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -120,6 +120,10 @@ sub get_xml_p { $body =~ s{]+)text="([^"]*)"([^"=]*)""}{. + $body + =~ s{]+)lead="([^"]*)
([^"=]*)"}{load_xml( string => $body ) }; -- cgit v1.2.3