Loading lib/DBInfoscreen/Helper/HAFAS.pm +5 −2 Original line number Diff line number Diff line Loading @@ -103,7 +103,10 @@ sub get_xml_p { # regardless. As it is the last tag, we just throw it away. $body =~ s{<SDay [^>]*/>}{}s; # <Attribute [...] text="[...] "[...]"" prio="800" /> is invalid XML. # More fixes for invalid XML $body =~ s{P&R}{P&R}; # <Attribute [...] text="[...] "[...]"" /> is invalid XML. # Work around it. $body =~ s{<Attribute([^>]+)text="([^"]*)"([^"=]*)""}{<Attribute$1text="$2*$3*"}s; Loading Loading
lib/DBInfoscreen/Helper/HAFAS.pm +5 −2 Original line number Diff line number Diff line Loading @@ -103,7 +103,10 @@ sub get_xml_p { # regardless. As it is the last tag, we just throw it away. $body =~ s{<SDay [^>]*/>}{}s; # <Attribute [...] text="[...] "[...]"" prio="800" /> is invalid XML. # More fixes for invalid XML $body =~ s{P&R}{P&R}; # <Attribute [...] text="[...] "[...]"" /> is invalid XML. # Work around it. $body =~ s{<Attribute([^>]+)text="([^"]*)"([^"=]*)""}{<Attribute$1text="$2*$3*"}s; Loading