Commit 11727e0f authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

*sigh* oh hafas, you so hafas

parent 74ae9825
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.