diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-10-25 16:29:53 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-25 16:29:53 +0100 |
commit | 56bc71a8265b390420085576618f58232fcb23a4 (patch) | |
tree | d0aa757a82716d6d5b4c5c1cfd41a7471369ce35 /lib/DBInfoscreen | |
parent | 0206c18900375414dda1c75afa0b9f401d07218b (diff) |
oops #2
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r-- | lib/DBInfoscreen/Helper/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index 9e507e4..300eda7 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -106,7 +106,7 @@ sub get_xml_p { # <Attribute [...] text="[...] "[...]"" prio="800" /> is invalid XML. # Work around it. $body - =~ s{<Attribute text="([^"]*)"([^"=]*)""}{<Attribute text="$1*$2*"}s; + =~ s{<Attribute([^>]+)text="([^"]*)"([^"=]*)""}{<Attribute$1text="$2*$3*"}s; my $tree; |