summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index e270a3e..19dc459 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -113,6 +113,7 @@ sub get_xml_p {
# More fixes for invalid XML
$body =~ s{P&R}{P&R};
+ $body =~ s{Wagen \d+ \K&(?= )}{&};
# <Attribute [...] text="[...] "[...]"" /> is invalid XML.
# Work around it.