summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
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 31615b1..48632c0 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -119,7 +119,7 @@ sub get_xml_p {
# More fixes for invalid XML
$body =~ s{P&R}{P&R};
- $body =~ s{Wagen \d+ \K&(?= )}{&};
+ $body =~ s{& }{& }g;
# <Attribute [...] text="[...]"[...]"" /> is invalid XML.
# Work around it.