summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-25 16:29:53 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-10-25 16:29:53 +0100
commit56bc71a8265b390420085576618f58232fcb23a4 (patch)
treed0aa757a82716d6d5b4c5c1cfd41a7471369ce35 /lib/DBInfoscreen
parent0206c18900375414dda1c75afa0b9f401d07218b (diff)
oops #2
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm2
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&#042;$2&#042;"}s;
+ =~ s{<Attribute([^>]+)text="([^"]*)"([^"=]*)""}{<Attribute$1text="$2&#042;$3&#042;"}s;
my $tree;