*sigh* oh hafas, you so hafas

This commit is contained in:
Daniel Friesel 2021-03-29 20:58:35 +02:00
parent 74ae9825bf
commit 11727e0f99

View file

@ -195,7 +195,8 @@ sub get_xml_p {
# More fixes for invalid XML
$body =~ s{P&R}{P&R};
$body =~ s{Wagen \d+ \K&(?= )}{&};
$body =~ s{Wagen \d+ \K&}{&};
$body =~ s{Wagen \d+, \d+ \K&}{&};
# <Attribute [...] text="[...] "[...]"" /> is invalid XML.
# Work around it.